Defining a schedule for creating a local copy on the destination
For SnapVault and unified replication relationships, you can protect against the possibility that an updated Snapshot copy is corrupted by creating a copy of the last transferred Snapshot copy on the destination. This “local copy” is retained regardless of the retention rules on the source, so that even if the Snapshot originally transferred by SnapMirror is no longer available on the source, a copy of it will be available on the destination.
About this task
You specify the schedule for creating a local copy in the -schedule option of the snapmirror policy add-rule command.
For complete command syntax, see the man page. For an example of how to create a job schedule, see Creating a replication job schedule.
Example
The following example adds a schedule for creating a local copy to the default MirrorAndVault policy:
cluster_dst::> snapmirror policy add-rule -vserver svm1 -policy MirrorAndVault -snapmirror-label my_monthly -schedule my_monthly
Example
The following example adds a schedule for creating a local copy to the custom my_unified policy:
cluster_dst::> snapmirror policy add-rule -vserver svm1 -policy my_unified -snapmirror-label my_monthly -schedule my_monthly