# benchweave backup


Snapshot the store + content into a verified backup directory.


``` bash
benchweave backup [OPTIONS]
```


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


    Usage: benchweave backup [OPTIONS]

      Snapshot the store + content into a verified backup directory.

    Options:
      --data-dir PATH  At-rest data directory (holds state.sqlite + content/).
                       [required]
      --out PATH       Directory to place backup-<iso>/ under (default: cwd).
      --json           Emit the stable machine JSON contract instead of text.
      --help           Show this message and exit.


# Options


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

`--out: PATH = .`  
Directory to place backup-/ under (default: cwd).

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