mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-25 01:26:32 +00:00
16 lines
552 B
Markdown
16 lines
552 B
Markdown
# Exec
|
|
|
|
```bash
|
|
autorestic exec [-b, --backend] [-a, --all] <command> -- [native options]
|
|
```
|
|
|
|
This is a very handy command which enables you to run any native restic command on desired backends. Generally you will want to include the verbose flag `-v, --verbose` to see the output. An example would be listing all the snapshots of all your backends:
|
|
|
|
```bash
|
|
autorestic exec -av -- snapshots
|
|
```
|
|
|
|
With `exec` you can basically run every cli command that you would be able to run with the restic cli. It only pre-fills path, key, etc.
|
|
|
|
> :ToCPrevNext
|