diff --git a/docs/markdown/_toc.md b/docs/markdown/_toc.md index d554384..a402125 100644 --- a/docs/markdown/_toc.md +++ b/docs/markdown/_toc.md @@ -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) diff --git a/docs/markdown/location/options.md b/docs/markdown/location/options.md new file mode 100644 index 0000000..d2e0782 --- /dev/null +++ b/docs/markdown/location/options.md @@ -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