ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • snaplock event-retention policy modify

    Modify SnapLock Event Based Retention policies for a Vserver

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

    Description

    The snaplock event-retention policy modify command is used to modify the retention period of an Event Based Retention (EBR) policy for a Vserver. Only a user with security login role vsadmin-snaplock is allowed to perform this operation.

    Parameters

    -vserver <vserver name> - Vserver Name

    Specifies the name of the Vserver for which retention period of a policy needs to be modified.

    -name <text> - Policy Name

    Specifies the name of the EBR policy for which the retention period needs to be modified.

    [-retention-period {{<integer> seconds|minutes|hours|days|months|years} | infinite}] - Event Retention Period

    Specifies the new value of retention period.

    Examples

    The following example modifies the retention period of policy "p1" for Vserver "vs1" to "5 years" :

    vs1::> snaplock event-retention policy modify -name p1 -retention-period "5 years"
    Top of Page