autorestic/docs/markdown/location/options.md

24 lines
531 B
Markdown
Raw Normal View History

2021-04-30 08:47:29 +00:00
# Options
For the `backup` and `forget` commands you can pass any native flags to `restic`.
2021-05-17 20:40:23 +00:00
> It is also possible to set options for an [entire backend](/backend/options).
2021-04-30 08:47:29 +00:00
```yaml
locations:
foo:
path: ...
to: ...
options:
backup:
tag:
- foo
- bar
```
In this example, whenever `autorestic` runs `restic backup` it will append a `--tag abc --tag` to the native command.
2021-10-25 16:29:59 +00:00
> For flags without arguments you can set them to `true`. They will be handled accordingly.
2021-04-30 08:47:29 +00:00
> :ToCPrevNext