Set-RubrikAvailabilityGroup

SYNOPSIS

Sets the protection values of an Availability Group

SYNTAX

LogOptions

Set-RubrikAvailabilityGroup [-id <String>] -LogBackupFrequencyInSeconds <Int32> -LogRetentionHours <Int32>
 [-SLA <String>] [-SLAID <String>] [-Server <String>] [-api <String>] [<CommonParameters>]

CopyOnly

Set-RubrikAvailabilityGroup [-id <String>] [-CopyOnly] [-SLA <String>] [-SLAID <String>] [-Server <String>]
 [-api <String>] [<CommonParameters>]

DESCRIPTION

The Set-RubrikAvailabilityGroup cmdlet is used to set the protetion values of an Availability Group in Rubrik.

EXAMPLES

EXAMPLE 1

This will set the SLA Domain to GOLD for this Availability Group

EXAMPLE 2

This will set the SLA Domain to GOLD for this Availability Group with a log backup frequency of hourly and a retention of 15 days

PARAMETERS

-id

Availability Group ID

-LogBackupFrequencyInSeconds

How often we should backup the transaction log

-LogRetentionHours

How long should we keep the backup for

-CopyOnly

Boolean declaration for copy only backups on the database.

-SLA

SLA Domain Name

-SLAID

SLA Domain ID

-Server

Rubrik server IP or FQDN

-api

API version

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Written by Chris Lumnah for community usage Twitter: @lumnah GitHub: clumnah

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/set-rubrikavailabilitygroup

Last updated

Was this helpful?