.nh .TH "LXD - Command line client" "1" "May 2023" "Auto generated by spf13/cobra" "" .SH NAME .PP lxc-restore - Restore instances from snapshots .SH SYNOPSIS .PP \fBlxc restore [:] [flags]\fP .SH DESCRIPTION .PP Description: Restore instances from snapshots .PP If --stateful is passed, then the running state will be restored too. .SH OPTIONS .PP \fB--stateful\fP[=false] Whether or not to restore the instance's running state from snapshot (if available) .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 .PP .RS .nf lxc snapshot u1 snap0 Create the snapshot. lxc restore u1 snap0 Restore the snapshot. .fi .RE .SH SEE ALSO .PP \fBlxc(1)\fP .SH HISTORY .PP 5-May-2023 Auto generated by spf13/cobra