mirror of
https://github.com/roles-ansible/ansible_role_restic_archiver.git
synced 2024-08-16 10:09:49 +02:00
add example for backup syntax (#24)
Co-authored-by: whysthatso <whysthatso@gmx.de>
This commit is contained in:
parent
95861d54d6
commit
dcc357c6fa
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -140,6 +140,16 @@ Available variables:
|
||||||
| `schedule_month` | no (`*`) | Month when the job is run. ( 1-12, *, */2, etc ) |
|
| `schedule_month` | no (`*`) | Month when the job is run. ( 1-12, *, */2, etc ) |
|
||||||
| `exclude` | no (`{}`) | Allows you to specify files to exclude. See [Exclude](#exclude) for reference. |
|
| `exclude` | no (`{}`) | Allows you to specify files to exclude. See [Exclude](#exclude) for reference. |
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```yaml
|
||||||
|
restic_backups:
|
||||||
|
- name: data
|
||||||
|
repo: remove
|
||||||
|
src: /path/to/data
|
||||||
|
scheduled: true
|
||||||
|
schedule_hour: 3
|
||||||
|
```
|
||||||
|
|
||||||
#### Exclude
|
#### Exclude
|
||||||
the `exclude` key on a backup allows you to specify multiple files to exclude or
|
the `exclude` key on a backup allows you to specify multiple files to exclude or
|
||||||
files to look for filenames to be excluded. You can specify the following keys:
|
files to look for filenames to be excluded. You can specify the following keys:
|
||||||
|
|
Loading…
Reference in a new issue