(incus_snapshot_restore.md)=
# `incus snapshot restore`

Restore instance snapshots

## Synopsis
```{line-block}

Description
  Restore instance from snapshots

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



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

## Examples

```
  incus snapshot restore u1 snap0
      Restore instance u1 to snapshot snap0
```

## Options

```
      --diskonly[=true|false]   Whether or not to restore the instance's disk only
      --stateful[=true|false]   Whether or not to restore the instance's running state from snapshot (if available)
```

## Options inherited from parent commands

```
      --debug[=true|false]          Show all debug messages
      --explain[=true|false]        If the command is valid, explain its parsed arguments instead of running it
      --force-local[=true|false]    Force using the local unix socket
  -h, --help[=true|false]           Print help
      --project                     Override the source project
  -q, --quiet[=true|false]          Don't show progress information
      --sub-commands[=true|false]   Use with help or --help to view sub-commands
  -v, --verbose[=true|false]        Show all information messages
      --version[=true|false]        Print version number
```

## SEE ALSO

* [incus snapshot](incus_snapshot.md)	 - Manage instance snapshots

