Initialize a replication relationship
For all relationship types, initialization performs a baseline transfer: it makes a Snapshot copy of the source volume, then transfers that copy and all the data blocks it references to the destination volume. Otherwise, the contents of the transfer depend on the policy.
The source and destination clusters and SVMs must be peered.
Initialization can be time-consuming. You might want to run the baseline transfer in off-peak hours.
Beginning with ONTAP 9.5, SnapMirror synchronous relationships are supported.
-
Initialize a replication relationship:
snapmirror initialize -source-path <SVM:volume>|<cluster://SVM/volume>, … -destination-path <SVM:volume>|<cluster://SVM/volume>, …
For complete command syntax, see the man page.
You must run this command from the destination SVM or the destination cluster.
The following example initializes the relationship between the source volume
volA
onsvm1
and the destination volumevolA_dst
onsvm_backup
:cluster_dst::> snapmirror initialize -source-path svm1:volA -destination-path svm_backup:volA_dst