backup redis

This commit is contained in:
mwiegand 2021-10-18 23:36:16 +02:00
parent b840462782
commit c6c9dc37f7

View file

@ -4,4 +4,21 @@ defaults = {
'redis-server': {},
},
},
'backup': {
'paths': {
'/var/lib/redis',
},
}
}
if node.has_bundle('zfs'):
defaults['zfs'] = {
'datasets': {
'tank/redis': {
'mountpoint': '/var/lib/redis',
'needed_by': [
'pkg_apt:redis-server',
],
},
},
}