mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
docs
This commit is contained in:
parent
61673bd88b
commit
90cd3171e5
@ -22,6 +22,7 @@
|
||||
>
|
||||
> [Overview](/backend/overview)
|
||||
> [Available Backends](/backend/available)
|
||||
> [Options](/backend/options)
|
||||
|
||||
> :Collapse label=CLI
|
||||
>
|
||||
|
23
docs/markdown/backend/options.md
Normal file
23
docs/markdown/backend/options.md
Normal file
@ -0,0 +1,23 @@
|
||||
# Options
|
||||
|
||||
For the `backup` and `forget` commands you can pass any native flags to `restic`.
|
||||
|
||||
> It is also possible to set options for an [a specific location](/location/options).
|
||||
|
||||
```yaml
|
||||
backend:
|
||||
foo:
|
||||
type: ...
|
||||
path: ...
|
||||
options:
|
||||
backup:
|
||||
tag:
|
||||
- foo
|
||||
- bar
|
||||
```
|
||||
|
||||
In this example, whenever `autorestic` runs `restic backup` it will append a `--tag abc --tag` to the native command.
|
||||
|
||||
For more detail see the [location docs](/location/options) for options, as they are the same
|
||||
|
||||
> :ToCPrevNext
|
@ -4,7 +4,7 @@
|
||||
autorestic forget [-l, --location] [-a, --all] [--dry-run] [--prune]
|
||||
```
|
||||
|
||||
This will prune and remove old data form the backends according to the [keep policy you have specified for the location](/location/forget)
|
||||
This will prune and remove old data form the backends according to the [keep policy you have specified for the location](/location/forget).
|
||||
|
||||
The `--dry-run` flag will do a dry run showing what would have been deleted, but won't touch the actual data.
|
||||
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
For the `backup` and `forget` commands you can pass any native flags to `restic`.
|
||||
|
||||
> It is also possible to set options for an [entire backend](/backend/options).
|
||||
|
||||
```yaml
|
||||
locations:
|
||||
foo:
|
||||
|
Loading…
Reference in New Issue
Block a user