parent
b690c1c3a9
commit
91e902d7ef
@ -0,0 +1,29 @@
|
|||||||
|
# General
|
||||||
|
|
||||||
|
## `--version`
|
||||||
|
|
||||||
|
Prints the current version
|
||||||
|
|
||||||
|
```bash
|
||||||
|
autorestic --version
|
||||||
|
```
|
||||||
|
|
||||||
|
## `--c, --config`
|
||||||
|
|
||||||
|
Specify the config file to be used.
|
||||||
|
If omitted `autorestic` will search for for a `.autorestic.yml` in the current directory and your home directory.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
autorestic -c /path/to/my/config.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
## `--ci`
|
||||||
|
|
||||||
|
> Available since version 0.22
|
||||||
|
|
||||||
|
Run the CLI in CI Mode, which means there will be no interactivity.
|
||||||
|
This can be useful when you want to run cron e.g. as all the output will be saved.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
autorestic --ci
|
||||||
|
```
|
@ -1,19 +1,21 @@
|
|||||||
# 🐣 Examples
|
# 🐣 Examples
|
||||||
|
|
||||||
## List all the snapshots for all the backends
|
## Exec
|
||||||
|
|
||||||
|
### List all the snapshots for all the backends
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
autorestic -a exec snapshots
|
autorestic exec -a -- snapshots
|
||||||
```
|
```
|
||||||
|
|
||||||
## Unlock a locked repository
|
### Unlock a locked repository
|
||||||
|
|
||||||
If you accidentally cancelled a running operation this could be useful.
|
If you accidentally cancelled a running operation this could be useful.
|
||||||
|
|
||||||
Only do this if you know what you are doing.
|
Only do this if you know what you are doing.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
autorestic -b my-backend exec unlock
|
autorestic exec -b my-backend -- unlock
|
||||||
```
|
```
|
||||||
|
|
||||||
> :ToCPrevNext
|
> :ToCPrevNext
|
||||||
|
Loading…
Reference in new issue