incus snapshot restore

Restore instance snapshots

Synopsis

Description: Restore instance from snapshots

If --stateful is passed, then the running state will be restored too.

incus snapshot restore [<remote>:]<instance> <snapshot name> [flags]

Examples

  incus snapshot create u1 snap0
  Create the snapshot.

  incus snapshot 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