Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Start-NaSnapvaultPriSnapshot


NAME
Start-NaSnapvaultPriSnapshot

SYNOPSIS
Request the primary to force a snapshot creation for a specified snapshot sc
hedule.

SYNTAX
Start-NaSnapvaultPriSnapshot [-VolumeName] <String> [-ScheduleName] <String>
[-MaxTries <Int32>] [-Controller <NaController>] [-WhatIf] [-Confirm] [<Com
monParameters>]


DESCRIPTION
Request the primary to force a snapshot creation for a specified snapshot sc
hedule. The snapshot schedule must be identified by the volume name and the
snapshot prefix. All the properties of the specified schedule will be appl
ied to the snapshot creation. This API should be used when it is desirable
to create snapshots right away, without having to wait for the pre-configure
d scheduled time. This API returns after only initiating the snapshot creat
ion, and there is no guarantee that the snapshot creation will succeed. The
Get-NaSnapvaultPriSnapshotScheduleStatus cmdlet should be used to track prog
ress of the snapshot creation.


PARAMETERS
-VolumeName <String>
The primary volume for which the snapshot schedule was configured.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-ScheduleName <String>
The name of the schedule to be used for this snapshot creation.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-MaxTries <Int32>
Number of times SnapVault should try creating the snapshot before giving
up. If the snapshot creation fails due to transient errors such as the
volume being out of space, SnapVault will keep trying to create the sna
pshot every minute untill the request is fulfilled. The allowed range i
s from 0 to 120. The default value is unlimited. If tries-count is not
use, then the value will remain unchanged and the already configured va
lue will be used. The default value for this option is -1. Range:[-1..
120]

Required? false
Position? named
Default value -1
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES


Category: snapvault
API: snapvault-primary-initiate-snapshot-create

-------------- Example 1 --------------

C:\PS>Start-NaSnapvaultPriSnapshot vol0 vol0_sv_sched


Force a snapshot creation for volume 'vol0' using SnapVault snapshot schedul
e 'vol0_sv_sched'.






RELATED LINKS
Stop-NaSnapvaultPriSnapshot
Get-NaSnapvaultPriSnapshotSchedule







 Data ONTAP® PowerShell Toolkit