--- title: "snapshot create" slug: "snapshot-create" updated: 2026-10-27T17:24:31Z published: 2026-10-27T17:24:31Z canonical: "docs.vastdata.com/snapshot-create" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # snapshot create This command creates a [snapshot](/docs-5-3/docs/snapshots-and-local-backup). ##### Usage ```plaintext 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-dd*T*HH: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 ```plaintext vcli: admin> snapshot create --path /dev --name snap1 --expiration-time 2020-10-26T21:30:00 ```