After you have completed the initial baseline backup of qtrees on the 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
Note
The descriptions and procedures in this section pertain to SnapVault backup of Data ONTAP storage systems only. For descriptions and procedures pertaining to SnapVault backup of Open Systems drives and directories, see Setting up SnapVault backup on Open Systems platforms and Managing SnapVault backup of Open Systems platforms.
If the SnapVault feature is scheduled to perform Snapshot management at the same time as default snap sched activity, then the Snapshot management operations scheduled using the snap sched command might fail with syslog messages, "Skipping creation of hourly snapshot," and "Snapshot already exists." To avoid this condition, disable the conflicting times using snap sched, and use the snapvault snap sched command to configure equivalent schedules.
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.
To set a schedule for the primary storage system, complete the following step.
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@19
systemB> snapvault snap sched vol1 sv_nightly 2@mon-fri@19
systemB> snapvault snap sched vol1 sv_hourly 11@mon-fri@7-18
SnapVault primary storage system creates Snapshot copies on the specified volume, as follows:
To schedule the backup of SnapVault Snapshot copies from the primary storage systems to the secondary storage system, use the snapvault snap sched -x command.
Complete the following step.
| 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:
Caution
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.
Note
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. (See Unscheduling SnapVault Snapshot copies.)
The following three snapvault snap sched command lines schedule three sets of SnapVault transfer updates and Snapshot copies on volume vol1 of the secondary storage system.
systemA> snapvault snap sched -x vol1 sv_weekly 5@sat@21
systemA> snapvault snap sched -x vol1 sv_nightly 5@mon-fri@20
systemA> snapvault snap sched -x vol1 sv_hourly 4@mon-fri@8-19
SnapVault transfers qtree data from the primary storage system's Snapshot copy as follows:
Note
Snapshot copies scheduled on the secondary storage system with the snapvault snap sched -x command are created five minutes after the hour you specify to give SnapVault on the primary storage systems enough time to create Snapshot copies before the secondary storage system updates from them.
You might want to schedule some Snapshot copies on the secondary storage system that do not require a transfer from the primary storage system. For example, you might want to maintain hourly and nightly Snapshot copies on the primary storage system and you might want to keep only weekly Snapshot copies on the secondary storage system. To schedule Snapshot copies on the secondary storage system without having to create a corresponding Snapshot copy on the primary storage system, complete the following step.
| 1 |
snapvault snap sched sec_vol snap_name schedule_spec Note |
The following command schedules a weekly Snapshot copy at 11 p.m. on Saturdays and keeps the last five Snapshot copies:
snapvault snap sched vol2 sv_weekly 5@sat@22
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 Snapshot copies sets for all SnapVault volumes.
systemA> 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
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01081_B0
File: snapva17.htm
Last updated: 01-Dec-2005 16:36:13