HP StorageWorks SAN Virtualization Services Platform Manager command line interface user guide (AG781-96016, March 2009)

Description
Purges (deletes) old virtual disks, provided they all have the same root name (all start with the same
prefix, and the suffix was automatically created by the VSM API through the Template argument).
NOTE:
Virtual disks with R/W permissions set are not purged.
This command can be used for virtual disks created by snapclones. If GroupTemplateName exists
and is not empty, snapclone groups are purged based on the group root name and their creation
time. The number to keep may be zero (for example, delete all).
RestoreSnapshot command
Syntax
RestoreSnapshot -Snapshot SnapshotName
Description
The data of the designated snapshot is collapsed (copied) into the source virtual disk or snapshot, the
updated virtual disk or snapshot is renamed with the snapshot name, and all PiTs are deleted. The
source virtual disk or snapshot name does not exist anymore after this operation is complete. This
operation is permitted only if:
The designated snapshot is defined on the last and only PiT of the source virtual disk or snapshot.
There are no other snapshots/PiTs defined on the source virtual disk or snapshot.
There are no snapshots or PiTs defined on the designated snapshot.
RollBack command
Syntax
RollBack -Pit NameOfPiT, -timeout 900
Description
Does a rollback of a snapshot or virtual disk to the parent PiT of the specified PiT (the specified PiT is
deleted). The PiT before the rollback becomes the last one in the PiT chain. The operation is allowed
only if there are no snapshots created on any of the deleted PiTs.
RollBackVDGroupPiT command
Syntax
RollBackVDGroupPiT -Group VirtualDiskGroupName, -Pit NameOfPiT, ~
-timeout 900
Description
Rolls back the virtual disks or snapshots of the virtual disk group to the parent PiT of the specified PiT
template name (specified and subsequent PiTs are deleted). The parent PiT (the PiT before the PiT
HP StorageWorks SAN Virtualization Services Platform Manager command line interface user
guide 79