Getcreationtime command, Getsnapshotdata command, Listpitschain command – HP SAN Virtualization Services Platform User Manual
Page 31: Listsnapshots command
Description
Deletes PiT or snapshot. If the LastInstance flag is used, the preceding snapshot or PiT name
is the root name, and the most recently created snapshot or PiT (with a template name) is the subject
of the command.
GetCreationTime
command
Syntax
GetCreationTime -Template FullNameWithSuffix
Description
Returns PiT or snapshot creation time from its full name (name must have been created using the
CLI with the template flag). The returned time string is according to the local time zone settings and
has the form Wed Jan 02 02:03:55 1980. A 24–hour clock is used.
NOTE:
When a PiT is created using the Template argument, the CLI embeds the time in the
created name. The time is set from the CLI and the GetCreationTime command gets this encrypted
time from the PiT name.
GetSnapshotData
command
Syntax
GetSnapshotData -name SnapshotOrPiTName
Description
Gets snapshot or PiT data on status, source PiT/snapshot, name of PiT defined on this PiT/snapshot
(if any), source virtual disk name, virtual disk group name (if applicable), creation time, cluster
support, the hosts that have permission to it, and so on.
ListPiTsChain
command
Syntax
ListPiTsChain -snapshot SnapshotOrVirtualDiskName
Description
Provides a list of all PiTs defined on the specified virtual disk or snapshot.
ListSnapshots
command
Syntax
ListSnapshots [-Template RootName] [,] [-PiT | -snapshot | -SyncPiT]
Description
•
The default command (without arguments) lists all PiTs and snapshots.
•
Adding the -PiT argument to the command line lists PiTs only.
•
Adding the -snapshot argument to the command line lists snapshots only
•
Adding the -SyncPiT argument to the command line lists PiTs created on synchronous mirror
groups.
•
Adding the -Template argument (optional) returns only objects whose names start with the
specified root name.
CLI command guidance
31