# benchweave restore


Verify a backup archive and swap it in as the data directory.


``` bash
benchweave restore [OPTIONS]
```


<span class="gd-details-chevron" aria-hidden="true"></span>Full --help output


    Usage: benchweave restore [OPTIONS]

      Verify a backup archive and swap it in as the data directory.

    Options:
      --archive DIRECTORY  Backup directory (backup-<iso>/) to restore from.
                           [required]
      --data-dir PATH      At-rest data directory (holds state.sqlite + content/).
                           [required]
      --json               Emit the stable machine JSON contract instead of text.
      --help               Show this message and exit.


# Options


`--archive: DIRECTORY`  
**Required.** Backup directory (backup-/) to restore from.

`--data-dir: PATH`  
**Required.** At-rest data directory (holds state.sqlite + content/). Environment variable: `BENCHWEAVE_DATA_DIR`.

`--json`  
Emit the stable machine JSON contract instead of text.
