Exclude volumes from an ONTAP SnapMirror SVM DR relationship
By default, all RW data volumes of the source SVM are replicated. If you do not want to protect all the volumes on the source SVM, you can use the -vserver-dr-protection unprotected option of the volume modify command to exclude volumes from SVM replication.
-
Exclude a volume from SVM replication:
volume modify -vserver SVM -volume volume -vserver-dr-protection unprotectedLearn more about
volume modifyin the ONTAP command reference.The following example excludes the volume
volA_srcfrom SVM replication:cluster_src::> volume modify -vserver SVM1 -volume volA_src -vserver-dr-protection unprotected
If you later want to include a volume in the SVM replication that you originally excluded, run the following command:
volume modify -vserver SVM -volume volume -vserver-dr-protection protectedThe following example includes the volume
volA_srcin the SVM replication:cluster_src::> volume modify -vserver SVM1 -volume volA_src -vserver-dr-protection protected
-
Create and initialize the SVM replication relationship as described in Replicating an entire SVM configuration.