Initializing 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.

Before you begin

The source and destination clusters and SVMs must be peered.

Cluster and SVM peering express configuration

About this task

Initialization can be time-consuming. You might want to run the baseline transfer in off-peak hours.

Starting with ONTAP 9.5, SnapMirror Synchronous relationships are supported.

Procedure

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.
Note: You must run this command from the destination SVM or the destination cluster.
The following example initializes the relationship between the source volume volA on svm1 and the destination volume volA_dst on svm_backup:
cluster_dst::> snapmirror initialize -source-path svm1:volA -destination-path svm_backup:volA_dst