| Index | Top - Up | Data ONTAP 8.3 |
Show SnapMirror policies
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
{ [-fields <fieldname>, ...]
| [-instance ] }
[-vserver <vserver name>] - Vserver Name
[-policy <sm_policy>] - SnapMirror Policy Name
[-type {vault|async-mirror|mirror-vault}] - Snapmirror Policy Type
[-owner {cluster-admin|vserver-admin}] - Owner of the Policy
[-comment <text>] - Comment
[-tries <unsigned32_or_unlimited>] - Tries Limit
[-transfer-priority {low|normal}] - Transfer Scheduling Priority
[-ignore-atime {true|false}] - Ignore File Access Time
[-restart {always|never|default}] - Restart Behavior
[-is-network-compression-enabled {true|false}] - Is Network Compression Enabled
[-create-snapshot {true|false}] - Create a New Snapshot Copy
[-snapmirror-label <text>, ...] - Snapshot Copy Label
[-keep <text>, ...] - Snapshot Copy Retention Count
[-preserve {true|false}, ...] - Snapshot Copy Preserve Enabled
[-warn <integer>, ...] - Warning Threshold Count
[-total-rules <integer>] - Total Rules in the Policy
[-total-keep <integer>] - Total Retention Count for All Rules in the Policy
cs::> snapmirror policy show
Vserver Policy Policy Number Transfer
Name Name Type Of Rules Tries Priority Comment
------- ------------------ ------ -------- ----- -------- ----------
cs DPDefault async-mirror 1 8 normal Default policy for DP relationship.
SnapMirror Label: sm_created Keep: 1
Total Keep: 1
cs MirrorAllSnapshots async-mirror 2 8 normal Asynchronous SnapMirror policy for mirroring all snapshots and the latest active file system.
SnapMirror Label: sm_created Keep: 1
all_source_snapshots 1
Total Keep: 2
cs MirrorAndVault mirror-vault 3 8 normal A unified Asynchronous SnapMirror and SnapVault policy for mirroring the latest active file system and daily and weekly snapshots.
SnapMirror Label: sm_created Keep: 1
daily 7
weekly 52
Total Keep: 60
cs MirrorLatest async-mirror 1 8 normal Asynchronous SnapMirror policy for mirroring the latest active file system.
SnapMirror Label: sm_created Keep: 1
Total Keep: 1
cs XDPDefault vault 2 8 normal Default policy for XDP relationship with daily and weekly rules.
SnapMirror Label: daily Keep: 7
weekly 52
Total Keep: 59
vs0.example.com
TieredBackup vault 0 8 normal Use for tiered backups
Snapmirror-label: - Keep: -
Total Keep: 0
6 entries were displayed.
The following example shows all the policies with the following fields - vserver (default), policy (default) and transfer-priority:
cs::> snapmirror policy show -fields transfer-priority
vserver policy transfer-priority
----------- --------- -----------------
cs DPDefault normal
cs XDPDefault
normal
vs0.example.com
TieredBackup
normal
3 entries were displayed.
| Index | Top - Up | Data ONTAP 8.3 |
Copyright © 1994-2015 NetApp, Inc. Legal Information