Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Scheduling SnapVault snapshot updates

About SnapVault snapshot update schedules  Top

After you have completed the initial baseline backup of qtrees on the filer primary storage systems to qtrees on the SnapVault secondary storage system (see Starting a SnapVault backup relationship), you must use the snapvault snap sched command to schedule

Scheduling snapshots on the SnapVault filer primary storage system  Top

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

To set a schedule for the primary storage system, complete the following step.

Step

Action

1

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 snapshots.

snap_name is the basename of a snapshot set, for example, sv_nightly. The name of this snapshot 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 snapshots.

schedule_spec is made up of count[@day_list][@hour_list].

count is the number of snapshots to retain for this snapshot set. A zero (0) in this field means no new instance of this snapshot will be created.

Caution
The combined total of snapshots retained for this and other snapshot sets cannot exceed 251 snapshots per volume. If it does, SnapVault will not create new snapshots.

@day_list is a comma-separated list that specifies the days on which a new snapshot 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 will be created automatically. You can create the snapshot manually. The default value is mon-sun.

@hour_list specifies the hours at which a new snapshot 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).

Example

The following three snapvault snap sched command lines schedule three sets of SnapVault snapshots on volume vol1 of the primary storage system.

filerB> snapvault snap sched vol1 sv_weekly 1@sat@19
filerB> snapvault snap sched vol1 sv_nightly 2@mon-fri@19
filerB> snapvault snap sched vol1 sv_hourly 11@mon-fri@7-18

Result

SnapVault primary storage system creates snapshots on the specified volume, as follows:

Scheduling snapshot backups to the SnapVault secondary storage system  Top

To schedule the backup of SnapVault snapshots from the filer primary storage systems to the secondary storage system, use the snapvault snap sched -x command.

Complete the following step.

.

Step

Action

1

From the secondary storage system, enter the following command on a single line:

snapvault snap sched -x sec_vol snap_name schedule_spec

In the command line just described:

Example

The following three snapvault snap sched command lines schedule three sets of SnapVault transfer updates and snapshots on volume vol1 of the secondary storage system.

filerA> snapvault snap sched -x vol1 sv_weekly 5@sat@21
filerA> snapvault snap sched -x vol1 sv_nightly 5@mon-fri@20
filerA> snapvault snap sched -x vol1 sv_hourly 4@mon-fri@8-19

Result:

SnapVault transfers qtree data from the primary storage system's snapshot as follows:

How to display the currently configured snapshot schedule  Top

Enter the snapvault snap sched command without a schedule specification to show the current schedule values. If no snap_name is given, the command shows the basenames of all snapshot sets scheduled for the specified volume. If no volume_name is given, the command shows the basenames of all snapshots sets for all SnapVault volumes on the filer.

Example

filerA> snapvault snap sched
xfer   vol1 sv_weekly 5@sat@21
xfer   vol1 sv_nightly 5@mon-fri@20
xfer   vol1 sv_hourly 4@mon-fri@8-19
xfer   vol2 sv_nightly 5@mon-fri@20
xfer   vol2 sv_hourly 4@mon-fri@8-19

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments