mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
docs
This commit is contained in:
parent
d3b4915d25
commit
c250391f67
@ -26,7 +26,7 @@ locations:
|
|||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
In this example, whenever `autorestic` runs `restic backup` it will append a `--tag abc --tag` to the native command.
|
In this example, whenever `autorestic` runs `restic backup` it will append a `--tag foo --tag bar` to the native command.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
locations:
|
locations:
|
||||||
@ -40,6 +40,12 @@ locations:
|
|||||||
- bar
|
- bar
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Priority
|
||||||
|
|
||||||
|
Options can be set globally, on the backends or on the locations.
|
||||||
|
|
||||||
|
The priority is as follows: `location > backend > global`.
|
||||||
|
|
||||||
## Global Options
|
## Global Options
|
||||||
|
|
||||||
It is possible to specify global flags that will be run every time restic is invoked. To do so specify them under `global` in your config file.
|
It is possible to specify global flags that will be run every time restic is invoked. To do so specify them under `global` in your config file.
|
||||||
|
Loading…
Reference in New Issue
Block a user