HP StorageWorks Storage Mirroring scripting guide (T2558-96074, February 2008)

7 - 17
Applying a snapshot on the target
Apply a snapshot to the target by using the snapshot revert command.
Deleting a snapshot
Because Storage Mirroring uses the Microsoft
®
Volume Shadow Copy service to create snapshots, the snapshots can be
managed through the Volume Shadow Copy command line administrator. You can also view, copy, or restore files from the
Previous Version tab by accessing the file properties through a share using Windows Explorer. See your Volume Shadow Copy
documentation for details. Additionally, you can use the Storage Mirroring commands to delete snapshots on the target.
1. View the snapshots on the target by using the snapshot list command.
Command SNAPSHOT REVERT
Description Revert the target to the last good snapshot
Syntax
SNAPSHOT REVERT <con_id> [ON <target>]
Options con_id—Connection ID assigned to the source/target connection
target—Name of the target, an IP address on the target, or a virtual IP address
Examples
snapshot revert 1
Notes Target names that contain non-alphanumeric characters must be enclosed in quotation marks.
Command SNAPSHOT LIST
Description Displays a list of snapshots associated with a connection
Syntax
SNAPSHOT LIST <con_id> [ON <target>]
Options con_id—Connection ID assigned to the source/target connection
target—Name of the target, an IP address on the target, or a virtual IP address
Examples
snapshot list 1
Notes Target names that contain non-alphanumeric characters must be enclosed in quotation marks.