Table of ContentsLibraryView in Frames

The snap restore_volume command

The snap restore_volume command restores a storage system volume from the specified Snapshot copy.

Syntax for this command is:

sdcli snap restore_volume [-f StorageSystemName] -volume StorageSystemVolumeName -s SnapshotCopyName [-force] [-m MachineName]

-f StorageSystemName is the name of the storage system on which the volume resides.

-volume StorageSystemVolumeName indicates name of the volume on which the restore operation will be performed.

-s SnapshotCopyName indicates the name of the Snapshot copy from which the volume will be restored.

-force is an optional switch that you use to ensure the volume restoration is performed even when non-LUN files or newer Snapshot copies are found on the volume.

Example

sdcli snap restore_volume -f clpubs-storage1 -volume vol3 -s my_snap

The preceding example restores a volume from the Snapshot copy named my_snap on a volume called vol3 that resides on a storage system called clpubs-storage1