Setting up SnapVault backup on the filer primary systems means preparing the primary storage systems and SnapVault secondary storage systems to fulfill their backup tasks.
Note
You must have separate SnapVault licenses for the primary storage and the secondary storage to use SnapVault.
Note
To set up SnapVault backup on Open Systems storage platforms, see Setting up SnapVault backup on Open Systems platforms.
On each filer primary storage system to be backed up to the SnapVault secondary storage system, log in to that filer's console and carry out the following steps
| 1 | Set up the SnapVault primary license on each primary storage system to be backed up. In the filer console, enter the following command: license add sv_primary_license For more information, see Entering license codes. |
| 2 | Enable SnapVault on each primary storage system to be backed up. In the filer console enter the following command:: options snapvault.enable on For more information, see Setting the enable option. |
| 3 | Use the options snapvault.access command to specify the name of the SnapVault secondary storage system to backup to. Enter the following command: options snapvault.access host=snapvault_secondary The filer must be able to resolve the host name (snapvault_secondary) to an IP address in the /etc/hosts file, or else the filer needs to be running DNS or NIS. You can also use the literal IP address instead of the host name. See the na_protocolaccess(8) man page for details. For more information about the options command, see the na_options(1) man page. For more information, see Setting the access option. |
Configure the SnapVault secondary storage system. Carry out the following steps
| 1 | Set up the SnapVault secondary license. In the filer console of the SnapVault secondary system, enter the following command: license add sv_secondary_license For more information see Entering license codes. |
| 2 | Enable SnapVault. In the filer console, enter the following command: options snapvault.enable on For more information see Setting the enable option. |
| 3 | Use the options snapvault.access command to specify the names of the primary storage systems to back up and restore. Enter the following command: options snapvault.access host=snapvault_primary1, snapvault_primary2 ... For more information see Setting the access option. |
| 4 | For each qtree on the filer primary storage systems to be backed up, use the snapvault start command line to execute an initial baseline copy of the qtree from the primary to the secondary storage system. On each command line, specify the primary storage filer, volume, and qtree, and the secondary storage host, volume, and qtree. Use the -S prefix to indicate the source qtree path. For example, snapvault start -S filer_a:/vol/vol1/tree_a sv_filerb:/vol/sv_vol/tree_a snapvault start -S filer_a:/vol/vol1/tree_b sv_filerb:/vol/sv_vol/tree_b snapvault start -S filer_a:/vol/vol1/tree_c sv_filerb:/vol/sv_vol/tree_c Note For more information see Initiating the first backup of data from filer primary storage systems. |
On both the filer primary storage systems and the SnapVault secondary storage system, configure a snapshot schedule. To set up a snapshot schedule, complete the following steps.
| 1 | On the filer primary storage systemsOn each filer primary storage system that contains qtrees to be backed up to a SnapVault secondary storage system, use the snapvault snap sched command to schedule sets of SnapVault snapshots on each volume containing the backed-up qtrees. For each set of snapshots, specify volume name, snapshot basename (for example: "sv_hourly," or "sv_nightly," and so on), number of SnapVault snapshots to store locally, and the days and hours to execute the snapshots. For example: snapvault snap sched vol1 sv_weekly 1@sat@19 snapvault snap sched vol1 sv_nightly 2@mon-fri@19 snapvault snap sched vol1 sv_hourly 11@mon-fri@7-18 Note For more information, see Scheduling snapshots on the SnapVault filer primary storage system. |
| 2 | On the SnapVault secondary storage systemFor each SnapVault volume snapshot set that you scheduled on your filer primary storage systems (see Step 1), use the snapvault snap sched -x command line to schedule a set of transfers to and subsequent snapshots of the SnapVault secondary storage system. For example: snapvault snap sched -x sv_vol sv_weekly 8@sat@20 snapvault snap sched -x sv_vol sv_nightly 7@mon-fri@20 snapvault snap sched -x sv_vol sv_hourly 11@mon-fri@7-19 Snapshot basenames on the primary and secondary systems must match, but snapshot times and number of stored snapshots can differ. The -x parameter causes SnapVault to copy new or modified data from the primary qtrees to their associated qtrees on the secondary storage system. After all the secondary qtrees on the specified volume have been updated, SnapVault then creates a snapshot of this volume for archiving. Note For more information see Scheduling snapshot backups to the SnapVault secondary storage system. |
In the event of data loss or corruption on a qtree in the primary storage system, the administrator can use the snapvault restore command to restore that qtree to its state at the time of one of its SnapVault snapshots.
| 1 | In the filer console of the primary storage system whose data you want to restore, use the snapvault restore command to specify
ExampleThis example restores qtree tree_b on primary storage system melzhost from qtree tree_b on the secondary storage system, using the most recent snapshot. snapvault restore -S secondary_host:/vol/sv_vol/tree_b melzhost:/vol/vol1/tree_b Note For more information, see Restoring data to the primary storage system. |
| 2 | After the restore operation is completed on the primary volume, go to the SnapVault secondary storage system and use the snapvault start -r command to restart the SnapVault backup relationship between the primary and secondary qtrees. Specify
snapvault start -r -S melzhost/vol/vol1/tree_b secondary_host/vol/vol1/tree_b Note For more information see Restoring data to the primary storage system. |
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00476
File: snapval4.htm
Last updated: 11/13/03 17:17:39