bundles/postgresql: only do database dumps if we're actually doing backups

This commit is contained in:
Franzi 2021-02-13 09:04:59 +01:00
parent 724537558e
commit adeb8eff88
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -58,7 +58,7 @@ files = {
# FIXME currently we do not have a mechanism to use snapshot-backups of
# zfs datasets.
if True: # not node.has_bundle('zfs') and node.has_bundle('backup-client'):
if node.has_bundle('backup-client'): # and not node.has_bundle('zfs'):
files['/etc/backup-pre-hooks.d/90-postgresql-dump-all'] = {
'source': 'backup-pre-hook',
'content_type': 'mako',