groups/all: do backups
All checks were successful
bundlewrap/pipeline/head This commit looks good

.. except for a couple of nodes which hold no important data
This commit is contained in:
Franzi 2020-11-13 12:59:06 +01:00
parent 45723a4c8a
commit cec8a14dfd
Signed by: kunsi
GPG key ID: 12E3D2136B818350
7 changed files with 28 additions and 4 deletions

View file

@ -17,6 +17,9 @@ nodes['gce.dns02'] = {
},
},
'external_ipv4': '35.187.109.249',
'backups': {
'exclude_from_backups': True,
},
'powerdns': {
'my_hostname': 'ns-2.kunbox.net',
},

View file

@ -17,6 +17,9 @@ nodes['gce.dns03'] = {
},
},
'external_ipv4': '35.228.143.71',
'backups': {
'exclude_from_backups': True,
},
'powerdns': {
'my_hostname': 'ns-3.kunbox.net',
},

View file

@ -25,9 +25,6 @@ nodes['htz-cloud.pirmasens'] = {
'redis': {},
},
},
'cron': {
'backup': '0 2 * * * root /root/backup.sh',
},
'nginx': {
'vhosts': {
'mail.kunsmann.info': {

View file

@ -70,9 +70,16 @@ nodes['htz.ex42-1048908'] = {
},
},
},
'backups': {
'paths': {
'/home/kunsi/.weechat',
'/opt/matrix/matrix-dimension',
'/opt/matrix/matrix-media-repo',
'/var/matrix',
},
},
'cron': {
# TODO move to a proper bundle
'backup': '0 1 * * * root /root/backup.sh',
'restart_mautrix_whatsapp': '0 3 * * * root systemctl restart matrix-bridge-whatsapp.service',
'telekom_nervkram': vault.decrypt('encrypt$gAAAAABfqXi23M96wrSLhqlbhqgePYX06LjPXfyQU2y_07kqYYLztj_PhS1-dk4r5FiiL2Ofmx5iCKW1sZNqiQSuHj2uKaitH0GnwHqj5CI2JwkAS9HrFxw=').format_into('0 0 * * * root date | mail -s \'daily test mail \' -r postmaster@mx0.kunbox.net {}'),
},

View file

@ -24,6 +24,9 @@ nodes['rx300'] = {
'dhcp': True,
},
},
'backups': {
'exclude_from_backups': True,
},
'zfs': {
'module_options': {
'zfs_arc_max_mb': 16384, # 16GB