Table of ContentsView in Frames

Examples of restoring SnapVault data

The following examples show how to restore SnapVault data on the primary storage system.

Example 1

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.

For incremental restore:

systemA> snapvault restore -r -s sv_backup.0 -S systemB:/vol/sv_vol/qtree3 systemA:/vol/vol1/qtree3
Restore will overwrite existing data in /vol/vol1/qtree3.
Are you sure you want to continue? yes
Transfer started.
Monitor progress with 'snapvault status' or the snapmirror log.

For baseline restore:

systemA> snapvault restore -s sv_backup.0  -S systemB:/vol/sv_vol/qtree3 systemA:/vol/vol1/qtree3
Restore will overwrite existing data in /vol/vol1/qtree3.
Are you sure you want to continue? yes
Transfer started.
Monitor progress with 'snapvault status' or the snapmirror log.

After the restore operation, you can restart the SnapVault relationship:

systemB> snapvault start -r -S systemA:/vol/vol1/qtree3 systemB:/vol/sv_vol/qtree3
The resync base snapshot will be: sv_backup.0
Resync may alter the data in this qtree.
Are you sure you want to resync the qtree? yes
Transfer started.
Monitor progress with 'snapvault status' or the snapmirror log.

Example 2

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/qtree3systemB> snapvault release /vol/sv_vol/qtree3 systemA:/vol/vol1/qtree3