bundles/postgresql: only do database dumps if we're actually doing backups
This commit is contained in:
parent
724537558e
commit
adeb8eff88
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ files = {
|
||||||
|
|
||||||
# FIXME currently we do not have a mechanism to use snapshot-backups of
|
# FIXME currently we do not have a mechanism to use snapshot-backups of
|
||||||
# zfs datasets.
|
# 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'] = {
|
files['/etc/backup-pre-hooks.d/90-postgresql-dump-all'] = {
|
||||||
'source': 'backup-pre-hook',
|
'source': 'backup-pre-hook',
|
||||||
'content_type': 'mako',
|
'content_type': 'mako',
|
||||||
|
|
Loading…
Reference in a new issue