snapshot create

Prev Next

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

Usage
snapshot create --path PATH
                --name NAME
                [--expiration-time EXPIRATION_TIME]
                [--enable-lock]
Required Parameters

--path PATH

Specifies the path to a directory. The snapshot will include all files and folders under the specified directory at the time of taking the snapshot.

--name NAME

Sets the name of the snapshot.

Options

--expiration-time EXPIRATION_TIME

Specifies 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 create --path /dev --name snap1 --expiration-time 2020-10-26T21:30:00