Creating a SnapVault relationship
You must create a SnapVault relationship between the source volume on one cluster and the destination volume on the peered cluster to create a SnapVault backup.
Before you begin
Before you can use integrated SnapVault technology to archive Snapshot copies to disk, you need to configure a data-protection relationship between the source and destination volumes, then initialize the relationship. Upon initialization, SnapVault makes a Snapshot copy of the source volume, then transfers the copy and all the data blocks it references to the destination volume.
You must have the cluster administrator user name and password for the destination cluster.
The destination aggregate must have available space.
About this task
You can use the Data ONTAP command-line interface (CLI) to create a SnapVault relationship. The following operations are performed on the CLI.
Scheduling SnapVault protection
SnapMirror relationships of all types are still scheduled via the schedule parameter on the SnapMirror relationship itself, as shown in the output of snapmirror show -instance.
Example
Cluster2::> snapmirror show -instance
Source Path: svmSrc:volSrc
Destination Path: svmDst:volDst
Relationship Type: XDP
Relationship Group Type: none
SnapMirror Schedule: daily
SnapMirror policies have a new and separate schedule parameter that can be configured as part of a SnapMirror policy rule. This parameter can be seen in the output of snapmirror policy show -instance and is an option when you create or modify a SnapMirror policy rule with snapmirror policy add-rule or snapmirror policy modify-rule.
Example
Cluster2::> snapmirror policy show -policy CustomMirrorVault -instance
Vserver: svm2
SnapMirror Policy Name: CustomMirrorVault
SnapMirror Policy Type: vault
Policy Owner: cluster-admin
Tries Limit: 8
Transfer Priority: normal
Ignore accesstime Enabled: false
Transfer Restartability: always
Network Compression Enabled: false
Create Snapshot: false
Comment: -
Total Number of Rules: 2
Total Keep: 15
Rules:
SnapMirror Label Keep Preserve Warn Schedule Prefix
----------------------------- ---- -------- ---- -------- ----------
daily 10 false 0 - -
weekly 5 false 0 weekly weekly
Cluster2::> snapmirror policy add-rule ?
-vserver Vserver Name
[-policy] SnapMirror Policy Name
[-snapmirror-label] Snapshot Copy Label
[-keep] Snapshot Copy Retention Count
[[-preserve] {true|false}] Snapshot Copy Preserve Enabled
[ -warn <integer> ] Warning Threshold Count
[ -schedule ] Snapshot Copy Creation Schedule
[ -prefix ] Snapshot Copy Creation Prefix
This feature is only available for use with vault and mirror-vault types of SnapMirror policies.
You must have at least one rule in your SnapMirror policy with no schedule parameter.