Protect-RubrikFileset
SYNOPSIS
Connects to Rubrik and assigns an SLA to a fileset
SYNTAX
SLA_Name
SLA_Unprotected
SLA_ByID
DESCRIPTION
The Protect-RubrikFileset cmdlet will update a fileset's SLA Domain assignment within the Rubrik cluster. The SLA Domain contains all policy-driven values needed to protect data. Note that this function requires the fileset ID value, not the name of the fileset, since fileset names are not unique across clusters. It is suggested that you first use Get-RubrikFileset to narrow down the one or more filesets to protect, and then pipe the results to Protect-RubrikFileset. You will be asked to confirm each fileset you wish to protect, or you can use -Confirm:$False to skip confirmation checks.
EXAMPLES
EXAMPLE 1
This will assign the Gold SLA Domain to any fileset named "C_Drive"
EXAMPLE 2
This will assign the Gold SLA Domain to the fileset named "C_Drive" residing on the host named "Server1" without asking for confirmation
EXAMPLE 3
This will assign the Gold SLA Domain to the fileset named "C_Drive" residing on the host named "Server1" on the cluster id specified in SLAPrimaryClusterId
EXAMPLE 4
This will set the C_Drive fileset to not protected and subsequently expire existing snapshots
PARAMETERS
-id
Fileset ID
-SLA
The SLA Domain in Rubrik
-SLAPrimaryClusterId
The PrimaryClusterId of SLA Domain on Rubrik, defaults to local
-DoNotProtect
Removes the SLA Domain assignment
-SLAID
SLA id value
-ExistingSnapshotRetention
Determine the retention settings for the already existing snapshots
-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 Chris Wahl for community usage Twitter: @ChrisWahl GitHub: chriswahl
RELATED LINKS
Last updated
Was this helpful?