New-RubrikSnapshot
SYNOPSIS
Takes an on-demand Rubrik snapshot of a protected object
SYNTAX
SLA_Name
New-RubrikSnapshot -id <String> -SLA <String> [-SLAPrimaryClusterId <String>] [-ForceFull] [-Server <String>]
[-api <String>] [-WhatIf] [-Confirm] [<CommonParameters>]SLA_Forever
New-RubrikSnapshot -id <String> [-Forever] [-ForceFull] [-Server <String>] [-api <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]SLA_ByID
New-RubrikSnapshot -id <String> [-ForceFull] -SLAID <String> [-Server <String>] [-api <String>] [-WhatIf]
[-Confirm] [<CommonParameters>]DESCRIPTION
The New-RubrikSnapshot cmdlet will trigger an on-demand snapshot for a specific object (virtual machine, database, fileset, etc.)
EXAMPLES
EXAMPLE 1
This will trigger an on-demand backup for any virtual machine named "Server1" that will be retained indefinitely and available under Unmanaged Objects.
EXAMPLE 2
This will trigger an on-demand backup for any fileset named "C_Drive" using the "Gold" SLA Domain.
EXAMPLE 3
This will trigger an on-demand backup for any database named "DB1" and force the backup to be a full rather than an incremental.
EXAMPLE 4
This will trigger an on-demand backup for the Oracle database by its ID, and force the backup to be a full rather than an incremental.
EXAMPLE 5
This will trigger an on-demand backup by ID, in this example it is the ID of a MSSQL Database
EXAMPLE 6
This will trigger an on-demand backup by ID, in this example it is the ID of a MSSQL Database, creating a snapshot in the Gold SLA on the cluster id specified in SLAPrimaryClusterId
PARAMETERS
-id
Rubrik's id of the object
-SLA
The SLA Domain in Rubrik
-SLAPrimaryClusterId
The PrimaryClusterId of SLA Domain on Rubrik, defaults to local
-Forever
The snapshot will be retained indefinitely and available under Unmanaged Objects
-ForceFull
Whether to force a full snapshot or an incremental. Only valid with MSSQL and Oracle Databases.
-SLAID
SLA id value
-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?