--- title: "snapshot modify" slug: "snapshot-modify" tags: ["5.5"] updated: 2026-10-27T23:00:54Z published: 2026-10-27T23:00:54Z canonical: "docs.vastdata.com/snapshot-modify" --- > ## 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 modify This command modifies a [snapshot](/docs-5-5/docs/snapshots-and-local-backup). #### Usage ```plaintext 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-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 modify --id 971306 --name s3mainsnap ```