|
@ -16,3 +16,19 @@ uses: |
|
|
backup: "Automatic regular dumps for backuping purpose" |
|
|
backup: "Automatic regular dumps for backuping purpose" |
|
|
default-options: |
|
|
default-options: |
|
|
schedule: "31 * * * *" ## schedule backup every hour |
|
|
schedule: "31 * * * *" ## schedule backup every hour |
|
|
|
|
|
## This one is useful only if previous relation is used |
|
|
|
|
|
backup: |
|
|
|
|
|
constraint: optional |
|
|
|
|
|
auto: pair |
|
|
|
|
|
solves: |
|
|
|
|
|
backup: "Automatic regular backups of dumps" |
|
|
|
|
|
default-options: |
|
|
|
|
|
## First pattern matching wins, no pattern matching includes. |
|
|
|
|
|
## include-patterns are checked first, then exclude-patterns |
|
|
|
|
|
## Patterns rules: |
|
|
|
|
|
## - ending / for directory |
|
|
|
|
|
## - '*' authorized |
|
|
|
|
|
## - must start with a '/', will start from $SERVICE_DATASTORE |
|
|
|
|
|
exclude-patterns: |
|
|
|
|
|
- "/var/lib/" ## mariadb working data files |
|
|
|
|
|
- "/var/backups/mysql/*.inprogress" ## database dump in progress |