autorestic/docs/examples.md

22 lines
339 B
Markdown
Raw Permalink Normal View History

2020-05-17 12:52:30 +00:00
# 🐣 Examples
2020-11-13 14:48:20 +00:00
## Exec
### List all the snapshots for all the backends
2020-05-17 12:52:30 +00:00
```bash
2020-11-13 14:48:20 +00:00
autorestic exec -a -- snapshots
2020-05-17 12:52:30 +00:00
```
2020-11-13 14:48:20 +00:00
### Unlock a locked repository
2020-05-17 12:52:30 +00:00
If you accidentally cancelled a running operation this could be useful.
Only do this if you know what you are doing.
```bash
2020-11-13 14:48:20 +00:00
autorestic exec -b my-backend -- unlock
2020-05-17 12:52:30 +00:00
```
> :ToCPrevNext