Skip to main content
A newer release of this product is available.

volume snapshot modify-snaplock-expiry-time

Contributors
Suggest changes

Modify expiry time of a SnapLock Snapshot copy

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

Description

The volume snapshot modify-snapshot-expiry-time extends snaplock expiry time of an existing Snapshot copy.

Parameters

-vserver <vserver name> - Vserver

This specifies the Vserver that contains the volume on which the Snapshot copy is located.

-volume <volume name> - Volume

This specifies the volume where a Snapshot copy is to be located.

-snapshot <text> - Snapshot

This specifies the name of the Snapshot copy locked by SnapLock whose snaplock expiry time needs to be modified.

[-expiry-time {MM/DD/YYYY HH:MM:SS [{+|-}hh:mm] | infinite}] - SnapLock Expiry Time

Specifies the new snaplock expiry that is applied to Snapshot copy locked by SnapLock.

If this option value is infinite , then a retention period that never expires is applied to the Snapshot copy.

Examples

The following example extends the retention period of a Snapshot copy snap1 to "03/03/2020 00:00:00" :

cluster1::> volume snapshot modify-snaplock-expiry-time -vserver vs1 -volume vol1 -snapshot snap1 -expiry-time "03/03/2020 00:00:00"
        cluster1::>

The following example e