snapshot modify

Prev Next

This command modifies a snapshot.Snapshots and Local Backup (v4.5)

Usage
snapshot modify --id ID
               [--name NAME]
               [--expiration-time EXPIRATION_TIME]
               [--enable-lock]

Required Parameters

--id ID

Specifies which snapshot to modify.

Options

--name NAME

Changes the name of the snapshot.

--expiration-time EXPIRATION_TIME

Sets or modifies a time in the future at which the snapshot should expire.

Specify EXPIRATION_TIME in the format YYYY-mm-ddTHH:MM:SS.

Example: --expiration-time 2019-09-25T22:30:00

--enable-lock

Renders the snapshot indestructible. Once this setting is enabled, deleting the snapshot or shortening its expiration time requires unlocking the cluster's indestructibility mechanism.

Example
vcli: admin> snapshot modify --id 971306 --name s3mainsnap