1
0
Fork 0
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:
Andreas Wagner 2020-11-12 15:40:15 +02:00 committed by GitHub
parent 95861d54d6
commit dcc357c6fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,6 +140,16 @@ Available variables:
| `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. |
Example:
```yaml
restic_backups:
- name: data
repo: remove
src: /path/to/data
scheduled: true
schedule_hour: 3
```
#### Exclude
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: