home.nas: do some backups

This commit is contained in:
Franzi 2022-01-13 15:56:57 +01:00
parent b94c5fa020
commit 05f87bad77
Signed by: kunsi
GPG Key ID: 12E3D2136B818350
3 changed files with 17 additions and 8 deletions

View File

@ -0,0 +1 @@
encrypt$gAAAAABh27wEndfbW4cyz1fgM3e87zCqStsK8upwR56flNhpwAMJQJtjflH76nvw63cZYGWjJaOY29jO4y8DONjRoe3OQxH1bt9qgBgSfdW4k1A2axKevj67wphrb5bipJCg_EKFZumRONCSaaFDFlRp8DJlwj4LWxHONENx6KEYtMMZyGRUnh853kYDxA9E2gq7ScXZMAws002iD1sBONCsXOLEcpX8-Yt1f9qDzhfSGh4z7JdBa_xfmjKYAMBl62pPeZoI2c8LnogtjPEdblPJmjBuIVhGb_wP6nF4jdEim57v0lGezPblddTFvsgNcZO9AWIeM4ivtVd0AZaZXHXxSh7aGTKOKn6BiZtvah5Dhc61GL-Iga3sXISuG7EALWVODtwfUBwD-s8gAXfT0_LYh2tkrkPVm39Uwx8hM1WZUyDvQ3ox3a5RxQgenz4YskdNA-2Yw53zxdaCp_sORJJPpsFntoPXtw0aHXGVTdluRDtBJCqDPUVvO69J3jDMDnNXb3W9BrKK1CABbZkd5hLQH9jH6ZY8SOZzr5-RpEPbR4akIKPJAL0lcCFRwS0TgCfTAKDBbz9y19xkzIAM4cjraMlUDS69zegryOzG9u1-Cjj82kNKT95iA70Hm63idJWR0naCRUCu

View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBf2z34n5oovv1PjJrDTNQyrI78oEmazeshLKTwheP4x

View File

@ -3,7 +3,7 @@
nodes['home.nas'] = {
'hostname': '172.19.138.20',
'bundles': {
'backup-server',
'backup-client',
'lm-sensors',
'mosquitto',
'nfs-server',
@ -46,14 +46,17 @@ nodes['home.nas'] = {
},
},
'backups': {
# This *is* the backup server
'exclude_from_backups': True,
},
'backup-server': {
'my_hostname': 'franzi-home.kunbox.net',
'my_ssh_port': 2022,
'zfs-base': 'storage/backups',
'paths': {
'/storage/nas/Bilder',
'/storage/nas/Bilder_Archiv',
'/storage/nas/Musik',
},
},
#'backup-server': {
# 'my_hostname': 'franzi-home.kunbox.net',
# 'my_ssh_port': 2022,
# 'zfs-base': 'storage/backups',
#},
'cron': {
# Ensure every user is able to read and write to the NAS dataset.
'nas_permissions': '0 3 * * * root '
@ -301,6 +304,10 @@ nodes['home.nas'] = {
'monthly': 0,
},
},
# XXX remove when deleting old backups from node
'snapshot_never': {
'storage/backups',
}
},
},
'vm': {