You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
summary: "MongoDB server"
|
|
maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
|
|
data-resources:
|
|
- /var/lib/mongodb
|
|
config-resources:
|
|
- /etc/mongod.conf
|
|
provides:
|
|
mongo-database:
|
|
|
|
uses:
|
|
schedule-command:
|
|
constraint: optional
|
|
auto: pair
|
|
solves:
|
|
backup: "Automatic regular backups"
|
|
default-options:
|
|
schedule: "47 * * * *" ## schedule backup every hour
|
|
## This one is useful only if previous relation is used
|
|
backup:
|
|
constraint: recommended
|
|
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
|