Modify expiry time of a SnapLock Snapshot copy
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.
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 extends the retention period of a Snapshot copy snap2 to infinite:
cluster1::> volume snapshot modify-snaplock-expiry-time -vserver vs1 -volume vol1 -snapshot snap2 -expiry-time infinite cluster1::>
cluster1::> volume snapshot show -vserver vs1 -fields snaplock-expiry-time vserver volume snapshot snaplock-expiry-time ------- ------ -------- ------------------------ vs1 vol1 snap1 3/3/2020 00:00:00 +05:30 vs1 vol1 snap2 infinite