Restoring the contents of a volume from a SnapMirror destination
You can restore the contents of an entire volume from a Snapshot copy in a SnapMirror destination volume. You can restore the volume's contents to the original source volume or to a different volume.
Before you begin
To restore a volume from a SnapMirror Synchronous destination (supported starting with ONTAP 9.5), you must first delete and release the relationship.
About this task
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 copy (as is typically the case when you are restoring to the original source volume).
NoteThe command fails if there is not a common Snapshot copy. 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 copy and all the data blocks it references are transferred to the source volume.
Restoring the contents of a volume is a disruptive operation. CIFS 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.