Add-HP4Snapshot
Short Description
Creates HPE StoreVirtual storage snapshots.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Storage System: HPE StoreVirtual (LeftHand/P4000), HPE StoreVirtual VSA
Syntax
Add-HP4Snapshot -Volume <CSanVolume> [-Name <string>] [-Description <string>] [-ApplicationManagedShapshot] [<CommonParameters>] |
Detailed Description
This cmdlet creates a snapshot of a selected HPE StoreVirtual storage volume.
Alias
Add-VBRHPSnapshot
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-HP4Volume cmdlet. | True | Named | False |
Name | Specifies the name you want to assign to the snapshot. | String | False | Named | False |
Description | Specifies the description of the snapshot. | String | False | Named | False |
ApplicationManagedShapshot | Defines if the VM on the target volume should be quiesced to bring VM data to a consistent state. If omitted, Veeam Backup & Replication will create a point-in-time snapshot. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Creating Snaphot of HPE StoreVirtual Storage
This example shows how to create a snapshot of the HPE StoreVirtual storage.
$storage = Get-HP4Storage -Name "HPE StoreVirtual VSA" $volume = Get-HP4Volume -Storage $storage -Name "HPE Volume 01" Add-HP4Snapshot -Volume $volume -Name "HPE Volume 01 Snapshot" |
Perform the following steps:
- Run the Get-HP4Storage cmdlet. Specify the Name parameter value. Save the result to the $storage variable.
- Run the Get-HP4Volume cmdlet. Set the $storage variable as the Storage parameter value. Specify the Name parameter value. Save the result to the $volume variable.
- Run the Add-HP4Snapshot cmdlet. Set the $volume variable as the Volume parameter value. Specify the Name parameter value.
Related Commands