From c9f425ef643f7bc363a890482f41639a83eb1430 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Fri, 30 Apr 2021 10:47:29 +0200 Subject: [PATCH] docs on native flags --- docs/markdown/_toc.md | 9 +++++++-- docs/markdown/location/options.md | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 docs/markdown/location/options.md 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