bundles/postgresql: do a database dump before backing up the database
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-02-13 08:56:35 +01:00
parent 3d1468b214
commit 724537558e
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 28 additions and 0 deletions

View file

@ -2,6 +2,9 @@ defaults = {
'backups': {
'paths': {
'/var/lib/postgresql',
# FIXME
'/var/tmp/postgresdumps',
},
},
'icinga2_api': {
@ -32,6 +35,9 @@ if node.has_bundle('zfs'):
},
},
}
# FIXME
#else:
# defaults['backups']['paths'].add('/var/tmp/postgresdumps')
@metadata_reactor.provides(