Migrate to nodes directory and make bwfiles base configurable
This commit is contained in:
24
nodes/clerie.uber.space.py
Normal file
24
nodes/clerie.uber.space.py
Normal file
@@ -0,0 +1,24 @@
|
||||
nodes.update(uberspaceify.nodes({
|
||||
"clerie.uber.space": {
|
||||
"bundles": (
|
||||
"uberspace-redirect-clerie",
|
||||
"uberspace-clerie-backup",
|
||||
"uberspace-clerie-monitoring",
|
||||
"uberspace-crontab-dir",
|
||||
"uberspace-supervisord",
|
||||
),
|
||||
"metadata": {
|
||||
"clerie-backup": {
|
||||
"repos": generate_default_repos("clerie.uber.space", "clerie"),
|
||||
},
|
||||
"cron": {
|
||||
"jobs": {
|
||||
"backup_main-cyan": "42 */2 * * * clerie-backup main-cyan backup && clerie-backup-update-monitoring main cyan",
|
||||
"backup_main-cyan_mysql": "52 */2 * * * clerie-backup main-cyan restic backup --stdin-filename mysql-databases.sql --stdin-from-command -- mysqldump --all-databases && clerie-backup-update-monitoring main_mysql cyan",
|
||||
"backup_main-magenta": "13 */2 * * * clerie-backup main-magenta backup && clerie-backup-update-monitoring main magenta",
|
||||
"backup_main-magenta_mysql": "23 */2 * * * clerie-backup main-magenta restic backup --stdin-filename mysql-databases.sql --stdin-from-command -- mysqldump --all-databases && clerie-backup-update-monitoring main_mysql magenta",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}))
|
||||
Reference in New Issue
Block a user