Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

PowerScaleOneFS CLI Command Reference

isi snapshot locks modify

Modifies the expiration date of a snapshot lock.

CAUTION:

It is recommended that you do not modify the expiration date of snapshot locks and do not run this command. Modifying the expiration date of a snapshot lock that was created by OneFS might result in data loss.

Syntax

isi snapshot locks modify <snapshot> <id> 
  {--expires | -x {<timestamp> | --clear-expires}
  [--verbose | -v]
  [--help | -h]

Required Privileges

ISI_PRIV_SNAPSHOT

Options

<snapshot>
Modifies a snapshot lock that has been applied to the specified snapshot.

Specify as a snapshot name or ID.

<id>
Modifies the snapshot lock of the specified ID.
{--expires | -x} {<timestamp> | <duration>}
Specifies when the lock will be automatically deleted by the system.

If this option is not specified, the snapshot lock will exist indefinitely.

Specify <timestamp> in the following format:

<yyyy>-<mm>-<dd>[T<HH>:<MM>[:<SS>]]

Specify <duration> in the following format:

<integer><time>

The following <time> values are valid:

Y
Specifies years
M
Specifies months
W
Specifies weeks
D
Specifies days
H
Specifies hours
--clear-expires
Removes the duration period for the snapshot lock. If specified, the snapshot lock will exist on the cluster indefinitely.
{--verbose | -v}
Displays a message confirming that the snapshot lock was modified.
{--help | -h}
Displays help for this command

Examples

The following command causes a snapshot lock applied to Wednesday_Backup to expire in three weeks:

isi snapshot locks modify Wednesday_Backup 1 --expires 3W

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\