(incus_snapshot_create.md)= # `incus snapshot create` Create instance snapshot ## Synopsis ```{line-block} Description: Create instance snapshots When --stateful is used, attempt to checkpoint the instance's running state, including process memory state, TCP connections, ... ``` ``` incus snapshot create [:] [] [flags] ``` ## Examples ``` incus snapshot create u1 snap0 Create a snapshot of "u1" called "snap0". incus snapshot create u1 snap0 < config.yaml Create a snapshot of "u1" called "snap0" with the configuration from "config.yaml". ``` ## Options ``` --expiry Expiry for the new snapshot (either a time span like `1d 3H` or a date in `2006/01/02 15:04 MST` format) --no-expiry[=true|false] Ignore any configured auto-expiry for the instance --reuse[=true|false] If the snapshot name already exists, delete and create a new one --stateful[=true|false] Whether or not to snapshot the instance's running state ``` ## Options inherited from parent commands ``` --debug[=true|false] Show all debug messages --explain[=true|false] If the command is valid, explain its parsed arguments instead of running it --force-local[=true|false] Force using the local unix socket -h, --help[=true|false] Print help --project Override the source project -q, --quiet[=true|false] Don't show progress information --sub-commands[=true|false] Use with help or --help to view sub-commands -v, --verbose[=true|false] Show all information messages --version[=true|false] Print version number ``` ## SEE ALSO * [incus snapshot](incus_snapshot.md) - Manage instance snapshots