This command creates a snapshot.
Usage
snapshot create --path PATH --name NAME [--expiration-time EXPIRATION_TIME] [--enable-lock]
Required Parameters
| 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. |
| Sets the name of the snapshot. |
Options
| Specifies a time in the future at which the snapshot should expire. Specify EXPIRATION_TIME in the format YYYY-mm-ddTHH:MM:SS. Example: |
| 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