Restore the contents of a volume from a SnapMirror destination with ONTAP
You can restore the contents of an entire volume from a snapshot in a SnapMirror destination volume. You can restore the volume's contents to the original source volume or to a different volume.
This procedure applies to FAS, AFF, and current ASA systems. If you have an ASA r2 system (ASA A1K, ASA A90, ASA A70, ASA A50, ASA A30, or ASA A20), follow these steps to restore data. ASA r2 systems provide a simplified ONTAP experience specific to SAN-only customers.
The destination volume for the restore operation must be one of the following:
-
A read-write volume, in which case SnapMirror performs an incremental restore, provided that the source and destination volumes have a common snapshot (as is typically the case when you are restoring to the original source volume).
The command fails if there is not a common snapshot. You cannot restore the contents of a volume to an empty read-write volume.
-
An empty data protection volume, in which case SnapMirror performs a baseline restore, in which the specified snapshot and all the data blocks it references are transferred to the source volume.
Restoring the contents of a volume is a disruptive operation. SMB traffic must not be running on the SnapVault primary volume when a restore operation is running.
If the destination volume for the restore operation has compression enabled, and the source volume does not have compression enabled, disable compression on the destination volume. You need to re-enable compression after the restore operation is complete.
Any quota rules defined for the destination volume are deactivated before the restore is performed. You can use the volume quota modify
command to reactivate quota rules after the restore operation is complete.
When data in a volume is lost or corrupted, you can roll back your data by restoring from an earlier snapshot.
This procedure replaces the current data on the source volume with data from an earlier snapshot version. You should perform this task on the destination cluster.
You can restore a volume's contents using System Manager or the ONTAP CLI.
-
Click Protection > Relationships, and then click the source volume name.
-
Click
and then select Restore.
-
Under Source, the source volume is selected by default. Click Other Volume if you want to choose a volume other than the source.
-
Under Destination, choose the snapshot you want to restore.
-
If your source and destination are located on different clusters, on the remote cluster, click Protection > Relationships to monitor the restore progress.
Other ways to do this in ONTAP
To perform these tasks with… | See this content… |
---|---|
System Manager Classic (available with ONTAP 9.7 and earlier) |