lxc restore
¶
Restore instances from snapshots
Synopsis¶
Description: Restore instances from snapshots
If –stateful is passed, then the running state will be restored too.
lxc restore [<remote>:]<instance> <snapshot> [flags]
Examples¶
lxc snapshot u1 snap0
Create the snapshot.
lxc restore u1 snap0
Restore the snapshot.
Options¶
--disk-volumes string Disk volumes mode. Possible values are "root" (default) and "all-exclusive". "root" only restores the instance's root disk volume. "all-exclusive" restores the instance's root disk and any exclusively attached volumes (non-shared) snapshots.
--stateful Whether or not to restore the instance's running state from snapshot (if available)
Options inherited from parent commands¶
--debug Show all debug messages
--force-local Force using the local unix socket
-h, --help Print help
--project Override the source project
-q, --quiet Don't show progress information
--sub-commands Use with help or --help to view sub-commands
-v, --verbose Show all information messages
--version Print version number
SEE ALSO¶
lxc - Command line client for LXD