Table of ContentsLibraryView in Frames

Scheduling Snapshot copies on the SnapVault primary storage system

To schedule a set of Snapshot copies on the SnapVault primary storage system, you use the snapvault snap sched command to specify the volume to create Snapshot copies for, the Snapshot copy basename, how many versions of the Snapshot copies to be retained, and the days and hours to execute this set of Snapshot copies.

Step

  1. To set a schedule for the primary storage system, from the primary storage system, enter the following command:snapvault snap sched volume_name snap_name schedule_spec

    volume_name is the name of the volume on the primary storage system on which to create this set of Snapshot copies.

    snap_name is the basename of a Snapshot set, for example, sv_nightly. The name of this Snapshot copy must be the same on the primary storage system and on the secondary storage system. The snap_name must not be “hourly,” “nightly,” or “weekly” to avoid conflict with 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 Snapshot set. A zero (0) in this field means no new instance of this Snapshot copy will be created.
    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 for this set is created. 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-fri. The dash (-) by itself means no Snapshot copy will be created automatically. You can create the Snapshot copy manually. The default value is mon-sun.

    @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, 7, 8-17, 19, 21, 23. The default is midnight (0).

The following three snapvault snap sched command lines schedule three sets of SnapVault Snapshot copies on volume vol1 of the primary storage system:systemB> snapvault snap sched vol1 sv_weekly 1@sat@19systemB> snapvault snap sched vol1 sv_nightly 2@mon-fri@19 systemB> snapvault snap sched vol1 sv_hourly 11@mon-fri@7-18

Result: SnapVault primary storage system creates Snapshot copies on the specified volume, as follows:
  • SnapVault creates sv_weekly.0 every Saturday at 7:00 p.m., and keeps one copy.
  • SnapVault creates sv_nightly.0 every Monday through Friday at 7:00 p.m., and keeps two copies.
  • SnapVault creates sv_hourly.0 every Monday through Friday, every hour from 7:00 a.m. to 6:00 p.m., and keeps eleven copies.