You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
autorestic/docs/pages/cli/exec.md

14 lines
536 B

5 years ago
# Exec
```bash
autorestic exec [-b, --backend] [-a, --all] <command> -- [native options]
```
4 years ago
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:
5 years ago
```bash
autorestic exec -av -- snapshots
5 years ago
```
4 years ago
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.