Add-StoragePluginSnapshot
Short Description
Creates snapshots of Universal Storage API integrated systems.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Storage System: IBM Spectrum Virtualize, INFINIDAT InfiniBox, Pure Storage
Syntax
Detailed Description
This cmdlet creates a snapshot of a selected storage volume.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Volume | Specifies the storage volume for which you want to take snapshot. | True | Named | True (ByValue, | False |
Name | Specifies the name you want to assign to the snapshot. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example
This example shows how to create a volume snapshot.
You will need to perform the following steps:
- Run Get-StoragePluginHost to get the storage. Save the result to the $storage variable.
- Run Get-StoragePluginVolume with the $storage variable to get the volume. Save the result to the $volume variable.
- Run Add-StoragePluginSnapshot with the $volume variable.
$storage = Get-StoragePluginHost -Name "IBM Spectrum" $volume = Get-StoragePluginVolume -Host $storage -Name "VOLUME-01" Add-StoragePluginSnapshot -Volume $volume -Name "DailySnapshot01" |
Related Commands