In the event of data loss on a primary storage system, restoring data from the SnapVault secondary storage system involves these command-line operations:
Note
The descriptions and procedures in this section pertain to SnapVault backup of Data ONTAP storage systems only. For 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.
To restore data from the SnapVault secondary storage system to the primary storage system, complete the following steps.
| 1 |
If you intend to restore a primary qtree to the exact qtree location on the primary storage system from which you backed it up, delete the existing qtree from the primary storage system. |
|
| 2 |
Enter the following command on the primary storage system on a single line: snapvault restore [options] -S [sec_system:]sec_qtree_path [prim_system:]prim_qtree_path -S [sec_system:]sec_qtree_path specifies the secondary storage system and qtree path from which you want to restore the data. prim_system is the name of the primary storage system that you want to restore to. If specified, this name must match the name of the host system. prim_qtree_path is the name of the primary storage system qtree that you want to restore to. For options to the snapvault restore command, see the na_snapvault(1) man page. |
|
| 3 | ||
|
Resume SnapVault backups of the newly restored qtree on the primary storage system | ||
|
Discontinue the backup relationship between the newly restored qtree on the primary storage system and its secondary qtree partner | ||
| 4 |
If you want to resume the SnapVault relationship between the restored qtree and its backup qtree on the secondary storage system, enter the following command on a single line: snapvault start -r [options] -S [prim_system:]prim_qtree_path [sec_system:]/vol/sec_volume/sec_qtree_path -r is required to restart backups from a restored primary storage system. See the na_snapvault(1) man page for details about the snapvault command syntax. Note |
|
| 5 | ||
| 6 |
If you want to discontinue the SnapVault relationship between the restored qtree and its backup qtree on the secondary storage system, enter the following command on the secondary storage system: snapvault release sec_qtree_path [prim_system:]prim_qtree_path sec_qtree_path is the name of the secondary storage system qtree that you want to release from a SnapVault relationship. [prim_system:]prim_qtree_path is the name of the primary storage system qtree that you want to release. |
|
| 7 | ||
This example shows the primary storage system (systemA) requesting data to be restored from the secondary storage system (systemB) and then the secondary storage system restarting the SnapVault backup relationship.
systemA> snapvault restore -S systemB:/vol/sv_vol/qtree3 vol/vol1/qtree3
systemB> snapvault start -r -S systemA:/vol/vol1/qtree3 systemB:/vol/sv_vol/qtree3
This example shows the primary storage system (systemA) requesting data to be restored from the secondary storage system (systemB) and then the secondary storage system canceling the SnapVault backup relationship on both storage systems to release the resources used.
systemA> snapvault restore -S systemB:/vol/sv_vol/qtree3 /vol/vol1/qtree3
systemB> snapvault release /vol/sv_vol/qtree3 systemA:/vol/vol1/qtree3
When you use the snapvault restore command to restore a primary qtree, SnapVault places a residual SnapVault Snapshot copy on the volume of the restored primary qtree. This Snapshot copy is not automatically deleted. If you have configured this volume to retain the maximum 251 Snapshot copies allowed by Data ONTAP, you must manually delete this residual Snapshot copy, or else no new Snapshot copies can be created.
To find and delete this residual Snapshot copy, complete the following steps.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01081_B0
File: snapva23.htm
Last updated: 01-Dec-2005 16:36:13