.nh .TH "LXD - Command line client" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP lxc-snapshot - Create instance snapshots .SH SYNOPSIS .PP \fBlxc snapshot [:] [] [flags]\fP .SH DESCRIPTION .PP Description: Create instance snapshots .PP When --stateful is used, LXD attempts to checkpoint the instance's running state, including process memory state, TCP connections, ... .SH OPTIONS .PP \fB--no-expiry\fP[=false] Ignore any configured auto-expiry for the instance .PP \fB--reuse\fP[=false] If the snapshot name already exists, delete and create a new one .PP \fB--stateful\fP[=false] Whether or not to snapshot the instance's running state .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--debug\fP[=false] Show all debug messages .PP \fB--force-local\fP[=false] Force using the local unix socket .PP \fB-h\fP, \fB--help\fP[=false] Print help .PP \fB--project\fP="" Override the source project`` .PP \fB-q\fP, \fB--quiet\fP[=false] Don't show progress information .PP \fB--sub-commands\fP[=false] Use with help or --help to view sub-commands .PP \fB-v\fP, \fB--verbose\fP[=false] Show all information messages .PP \fB--version\fP[=false] Print version number .SH EXAMPLE .EX lxc snapshot u1 snap0 Create a snapshot of "u1" called "snap0". .EE .SH SEE ALSO .PP \fBlxc(1)\fP .SH HISTORY .PP 11-Apr-2024 Auto generated by spf13/cobra