|
|
@ -15,3 +15,21 @@ uses: |
|
|
|
backup: "Automatic regular backups" |
|
|
|
default-options: |
|
|
|
schedule: "47 * * * *" ## 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 |
|
|
|
# include-patterns: |
|
|
|
# - /var/backups/mongo/ |
|
|
|
exclude-patterns: |
|
|
|
- "/var/lib/" ## mongo working data files |
|
|
|
- "/var/backups/mongo/*.inprogress/" ## database dump in progress |