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

@ -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 {}'),
},