bundles/zfs: introduce zfs-snapshot-backups, enable backups for nodes which need zfs-snapshot-backups
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
93e36156a0
commit
479b730be4
11 changed files with 96 additions and 18 deletions
|
@ -11,6 +11,17 @@ directories = {
|
|||
},
|
||||
}
|
||||
|
||||
files = {
|
||||
'/etc/zfs-snapshot-backup-pre.d/50-influxdb': {
|
||||
'content': '#!/bin/sh\nsystemctl stop influxdb',
|
||||
'mode': '0755',
|
||||
},
|
||||
'/etc/zfs-snapshot-backup-post.d/50-influxdb': {
|
||||
'content': '#!/bin/sh\nsystemctl start influxdb',
|
||||
'mode': '0755',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
svc_systemd = {
|
||||
'influxdb': {
|
||||
|
|
|
@ -15,6 +15,11 @@ defaults = {
|
|||
},
|
||||
},
|
||||
},
|
||||
'backups': {
|
||||
'paths': {
|
||||
'/var/lib/influxdb',
|
||||
},
|
||||
},
|
||||
'icinga2_api': {
|
||||
'telegraf': {
|
||||
'services': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue