Index  |  Top  -  Up Data ONTAP 8.3

snapmirror policy remove-rule

Remove a rule from SnapMirror policy

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The snapmirror policy remove-rule command removes a rule from a SnapMirror policy. On the destination of a SnapMirror relationship with snapmirror policy of type vault or mirror-vault, all Snapshot copies with a SnapMirror label matching the rule being removed are no longer processed by the snapmirror update command and might need to be deleted manually. A snapMirror policy of type vault must have at least one rule if that policy is associated with a SnapMirror relationship.

Parameters

-vserver <vserver name> - Vserver Name

Specifies the Vserver for the SnapMirror policy.

-policy <sm_policy> - SnapMirror Policy Name

Specifies the SnapMirror policy name.

-snapmirror-label <text> - Snapshot Copy Label

This parameter specifies the rule that is removed from the SnapMirror policy.

The rule for SnapMirror label sm_created cannot be removed from SnapMirror policies of type async-mirror or mirror-vault.

Examples

The following example removes a rule named nightly from a SnapMirror policy named TieredBackup on Vserver vs0.example.com:
vs0.example.com::> snapmirror policy remove-rule -vserver vs0.example.com -policy TieredBackup -snapmirror-label nightly

See Also

snapmirror policy   snapmirror update   snapMirror policy  
Index  |  Top  -  Up Data ONTAP 8.3

Copyright © 1994-2015 NetApp, Inc. Legal Information