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/markdown/cli/general.md

31 lines
721 B

4 years ago
# General
4 years ago
## `-c, --config`
4 years ago
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`
4 years ago
Run the CLI in CI Mode, which means there will be no interactivity, no colors and automatically sets the `--verbose` flag.
4 years ago
This can be useful when you want to run cron e.g. as all the output will be saved.
```bash
4 years ago
autorestic --ci backup -a
```
4 years ago
## `-v, --verbose`
4 years ago
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
4 years ago
```
4 years ago
> :ToCPrevNext