From the secondary storage system, enter the following command on a single line: snapvault snap sched -x sec_vol snap_name schedule_spec
The -x portion of the command is required on the secondary storage system. This parameter specifies that the SnapVault secondary qtrees on the specified volume are updated from their associated primary system qtrees just before the new Snapshot copy of the specified volume is created.
sec_vol is the name of the volume on the secondary storage system for which this Snapshot copy is scheduled.
snap_name is the basename of the set of Snapshot copies to create, for example, sv_nightly. The basename of this Snapshot set must match the basename of the corresponding Snapshot set configured on the primary storage system volume. Each new Snapshot copy created for this set is numbered 0, the number of each previous Snapshot copy in this set is increased by 1, and the oldest Snapshot copy in this set is deleted. The snap_name must not be “hourly,” “nightly,” or “weekly” to avoid conflict with regular Data ONTAP snap sched Snapshot copies.
schedule_spec is made up of
count[@
day_list][@
hour_list].
- count is the number of Snapshot copies
to retain for this set. A zero (0) in this field means no new secondary storage system Snapshot copy will be created for this set, although the qtrees on the secondary storage system
will be updated by the transfers from the primary storage systems.
Attention: The combined total of
Snapshot copies
retained for this and other Snapshot sets cannot exceed 251
Snapshot copies per volume. If it does,
SnapVault will not create new
Snapshot copies.
- @day_list is a comma-separated list that specifies the days on which a new Snapshot copy is created for this set. Valid entries are mon, tue, wed, thu, fri, sat, sun. They are not case-sensitive. You can specify a range using a dash (-), for example, mon-sun. The dash (-) by itself means no Snapshot copy will be created automatically. You can create the Snapshot copy manually.
- @hour_list specifies the hours at which a new Snapshot copy is created for this set. Valid entries are whole numbers from 0 to 23. You can specify a range using a dash (-), or use a comma-separated list, for example, 6, 8-17, 19, 21, 23. The default is midnight (0).
Note: You can turn off the
SnapVault Snapshot schedule on the primary
storage system or the secondary
storage system at any time with the
snapvault snap unsched command. You can also use the
options snapvault.enable off to stop all
SnapVault transfers.