HP StorageWorks Storage Mirroring Scripting Guide (T2558-96327, April 2009)

10 - 1
Snapshots
You can use Storage Mirroring commands to create a snapshot schedule, initiate a manual snapshot,
apply a snapshot on the target, or delete a snapshot from the target.
Creating a snapshot schedule
Use the snapshot schedule commands to establish scheduled snapshots.
1. To establish and initiate a snapshot schedule, use the snapshot schedule every command.
NOTE: As noted in the Scripting Guide Introduction on page 1-1, this guide does not explain
Storage Mirroring features and functions, only the scripting aspects of Storage Mirroring.
For details on the different features and functions, see the Storage Mirroring User’s
Guide.
Command SNAPSHOT SCHEDULE EVERY
Description Configures and initiates a snapshot schedule
Syntax
SNAPSHOT SCHEDULE <con_id> EVERY <number> <time_units>
[STARTTIME = <
mm/dd/yy> [hh:mm] ] [ON <target>]
Options
con_id—Connection ID assigned to the source/target connection
number—Any number indicating the frequency for the scheduled
snapshots
time_units—Minutes (min), hours (hr), or days (day)
mm/dd/yy—Date in month/day/year format indicating when the
schedule will begin
hh:mm—Time in hour:minute format, using the 24-hour clock, indicating
when the schedule will begin
target—Name of the target, an IP address on the target, or a virtual IP
address
Examples
snapshot schedule 1 every 12 hours
Notes
Any existing snapshot schedules for this connection will be overwritten.
Target names that contain non-alphanumeric characters must be
enclosed in quotation marks.