Set-RubrikSQLInstance
SYNOPSIS
Sets SQL Instance properties
SYNTAX
NoSLA_Changes (Default)
Set-RubrikSQLInstance [[-id] <String>] [-LogBackupFrequencyInSeconds <Int32>] [-LogRetentionHours <Int32>]
[-CopyOnly] [-Server <String>] [-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]SLA_Inherit
Set-RubrikSQLInstance [[-id] <String>] [-LogBackupFrequencyInSeconds <Int32>] [-LogRetentionHours <Int32>]
[-CopyOnly] [-Inherit] [-Server <String>] [-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]SLA_Unprotected
Set-RubrikSQLInstance [[-id] <String>] [-LogBackupFrequencyInSeconds <Int32>] [-LogRetentionHours <Int32>]
[-CopyOnly] [-DoNotProtect] [-Server <String>] [-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]SLA_Explicit
Set-RubrikSQLInstance [[-id] <String>] [-LogBackupFrequencyInSeconds <Int32>] [-LogRetentionHours <Int32>]
[-CopyOnly] [-SLAID <String>] [-SLA <String>] [-Server <String>] [-api <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]DESCRIPTION
The Set-RubrikSQLInstance cmdlet is used to update certain settings for a Rubrik SQL instance.
EXAMPLES
EXAMPLE 1
EXAMPLE 2
Will update the SLA policy for the RFITZHUGH SQL host to inherit and setting copyOnly to true while displaying verbose information in the console
PARAMETERS
-id
Rubrik's database id value
-LogBackupFrequencyInSeconds
Number of seconds between log backups if db s are in FULL or BULK_LOGGED NOTE: Default of -1 is used to get around ints defaulting as 0
-LogRetentionHours
Number of hours backups will be retained in Rubrik NOTE: Default of -1 is used to get around ints defaulting as 0
-CopyOnly
Boolean declaration for copy only backups on the instance.
-SLAID
SLA Domain ID for the database
-SLA
The SLA Domain name in Rubrik
-DoNotProtect
Removes the SLA Domain assignment
-Inherit
Inherits the SLA Domain assignment from a parent object
-Server
Rubrik server IP or FQDN
-api
API version
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
-Confirm
Prompts you for confirmation before running the cmdlet.
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 Mike Fal for community usage Twitter: @Mike_Fal GitHub: MikeFal
RELATED LINKS
Last updated
Was this helpful?