docs on native flags

pull/72/head
cupcakearmy 4 years ago
parent 974f555dff
commit c9f425ef64
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

@ -8,8 +8,13 @@
> >
> [Overview](/location/overview) > [Overview](/location/overview)
> [Hooks](/location/hooks) > [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) > [Cron](/location/cron)
> [Docker Volumes](/location/docker) > [Docker Volumes](/location/docker)

@ -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
Loading…
Cancel
Save