The following examples show how to restore SnapVault data on the primary storage system.
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 doing either a baseline or incremental restore, restart the 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.
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