autorestic/docs/markdown/cli/general.md

31 lines
721 B
Markdown
Raw Normal View History

2020-11-13 15:48:20 +01:00
# General
2021-04-16 00:26:57 +02:00
## `-c, --config`
2020-11-13 15:48:20 +01:00
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`
2021-04-16 00:26:57 +02:00
Run the CLI in CI Mode, which means there will be no interactivity, no colors and automatically sets the `--verbose` flag.
2020-11-13 15:48:20 +01:00
This can be useful when you want to run cron e.g. as all the output will be saved.
```bash
2021-04-16 00:26:57 +02:00
autorestic --ci backup -a
```
2021-04-17 13:12:25 +02:00
## `-v, --verbose`
2021-04-16 00:26:57 +02:00
Verbose mode will show the output of the native restic commands that are otherwise not printed out. Useful for debugging or logging in automated tasks.
```bash
autorestic --verbose backup -a
2020-11-13 15:48:20 +01:00
```
2021-04-21 09:41:14 +02:00
> :ToCPrevNext