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#
--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