autorestic/docs/markdown/examples.md

22 lines
339 B
Markdown
Raw Normal View History

2020-05-17 14:52:30 +02:00
# 🐣 Examples
2020-11-13 15:48:20 +01:00
## Exec
### List all the snapshots for all the backends
2020-05-17 14:52:30 +02:00
```bash
2020-11-13 15:48:20 +01:00
autorestic exec -a -- snapshots
2020-05-17 14:52:30 +02:00
```
2020-11-13 15:48:20 +01:00
### Unlock a locked repository
2020-05-17 14:52:30 +02: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 15:48:20 +01:00
autorestic exec -b my-backend -- unlock
2020-05-17 14:52:30 +02:00
```
> :ToCPrevNext