Table of ContentsView in Frames

Restoring a volume from a SnapVault backup

If the data on a volume becomes unavailable, you can restore the volume to a specific time by copying a Snapshot copy in the SnapVault backup. You can restore data to the same primary volume or to a new location. This is a disruptive operation.

Before you begin

About this task

This task describes how to restore a whole volume from a SnapVault backup. To restore a single file or LUN, you can restore the whole volume to a different, non-primary volume, and then select the file or LUN, or you can use the NetApp OnCommand management software online management tools.

Steps

  1. If the volume to which you are restoring has compression enabled and the secondary volume from which you are restoring does not have compression enabled, disable compression.
    You disable compression to retain storage efficiency during the restore.
  2. Restore a volume by using the snapmirror restore command.
    Example
    vs1::> snapmirror restore -destination-path vs1:vol1                                               
     -source-path vs2:vol1_dp_mirror2 -source-snapshot snap3                                           
     Warning: All data newer than Snapshot copy snap6 on volume vs1:vol1                                
              will be deleted.                                                                              
     Do you want to continue? {y|n}: y                                                                      
     [Job 34] Job is queued: snapmirror restore from source 
     vs2:vol1_dp_mirror2 for the snapshot snap3. 
    For more information about the snapmirror restore command, see the man pages.
  3. If the volume had quotas before the restore operation, activate the quotas on the restored volume by using the volume quota modify command with the -state parameter.
    Quotas are not turned on when you restore a volume.
  4. Remount the restored volume and restart all applications that use the volume.
  5. If you previously disabled compression, reenable compression on the volume.