docs on native flags

This commit is contained in:
cupcakearmy 2021-04-30 10:47:29 +02:00
parent 974f555dff
commit c9f425ef64
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
2 changed files with 26 additions and 2 deletions

View File

@ -8,8 +8,13 @@
>
> [Overview](/location/overview)
> [Hooks](/location/hooks)
> [Excluding Files](/location/exclude)
> [Forget Policy](/location/forget)
>
> > :Collapse label=Options
> >
> > [Overview](/location/options)
> > [Excluding Files](/location/exclude)
> > [Forget Policy](/location/forget)
>
> [Cron](/location/cron)
> [Docker Volumes](/location/docker)

View File

@ -0,0 +1,19 @@
# Options
For the `backup` and `forget` commands you can pass any native flags to `restic`.
```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.
> :ToCPrevNext