# kosa8 snapshot restore

Boot a sandbox from a snapshot, resuming processes in place

## Usage

```
kosa8 snapshot restore SNAPSHOT
```

Boots a sandbox from a snapshot, resuming its processes where they were.

A sealed snapshot is verified first — every file rehashed, the signature
checked — and refused if anything has changed. That takes about a second
per GiB of its largest file.

The restored sandbox carries the snapshot's label. --label may raise it;
a label lower than the snapshot's, or sideways from it, is refused.

Restoring is save and undo, on every plan. A restore that runs beside the
sandbox the snapshot was taken from, or beside another restore of it, is a
second running copy, and counts as a fork against your plan's forks at once.

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--allow-tampered` | bool | restore a sealed snapshot even if its seal does not verify (for examining the tampering; recorded in the audit log) |  |
| `--label` | string | raise the restored sandbox's classification above the snapshot's (never lower) |  |
| `--name` | string | name for the restored sandbox |  |

## Example

```
  kosa8 snapshot restore before-upgrade
  kosa8 snapshot restore before-upgrade --name dev2
```

---
Source: https://docs.kosa8.com/reference/snapshot-restore/
