Add-StoragePluginSnapshot
Short Description
Creates snapshots of Universal Storage API integrated systems.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Storage System: IBM Spectrum Virtualize, INFINIDAT InfiniBox, Pure Storage
Syntax
Add-StoragePluginSnapshot -Volume <CSanVolume> [-Name <String>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a snapshot of a selected storage volume.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Volume | Specifies the storage volume for which you want to take snapshot. | Accepts the CSanVolume object. To get this object, run the Get-StoragePluginVolume cmdlet. | True | Named | True (ByValue, |
Name | Specifies the name you want to assign to the snapshot. | String | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Creating Volume Snapshot
This example shows how to create a volume snapshot.
$storage = Get-StoragePluginHost -Name "IBM Spectrum" $volume = Get-StoragePluginVolume -Host $storage -Name "VOLUME-01" Add-StoragePluginSnapshot -Volume $volume -Name "DailySnapshot01" |
Perform the following steps:
- Run the Get-StoragePluginHost cmdlet. Specify the Name parameter value. Save the result to the $storage variable.
- Run the Get-StoragePluginVolume cmdlet. Set the $storage variable as the Host parameter value. Specify the Name parameter value. Save the result to the $volume variable.
- Run the Add-StoragePluginSnapshot cmdlet. Set the $volume variable as the Volume parameter value. Specify the Name parameter value.
Related Commands