home.nas: do some backups
This commit is contained in:
parent
b94c5fa020
commit
05f87bad77
3 changed files with 17 additions and 8 deletions
1
data/backup/keys/home.nas.key.vault
Normal file
1
data/backup/keys/home.nas.key.vault
Normal file
|
@ -0,0 +1 @@
|
|||
encrypt$gAAAAABh27wEndfbW4cyz1fgM3e87zCqStsK8upwR56flNhpwAMJQJtjflH76nvw63cZYGWjJaOY29jO4y8DONjRoe3OQxH1bt9qgBgSfdW4k1A2axKevj67wphrb5bipJCg_EKFZumRONCSaaFDFlRp8DJlwj4LWxHONENx6KEYtMMZyGRUnh853kYDxA9E2gq7ScXZMAws002iD1sBONCsXOLEcpX8-Yt1f9qDzhfSGh4z7JdBa_xfmjKYAMBl62pPeZoI2c8LnogtjPEdblPJmjBuIVhGb_wP6nF4jdEim57v0lGezPblddTFvsgNcZO9AWIeM4ivtVd0AZaZXHXxSh7aGTKOKn6BiZtvah5Dhc61GL-Iga3sXISuG7EALWVODtwfUBwD-s8gAXfT0_LYh2tkrkPVm39Uwx8hM1WZUyDvQ3ox3a5RxQgenz4YskdNA-2Yw53zxdaCp_sORJJPpsFntoPXtw0aHXGVTdluRDtBJCqDPUVvO69J3jDMDnNXb3W9BrKK1CABbZkd5hLQH9jH6ZY8SOZzr5-RpEPbR4akIKPJAL0lcCFRwS0TgCfTAKDBbz9y19xkzIAM4cjraMlUDS69zegryOzG9u1-Cjj82kNKT95iA70Hm63idJWR0naCRUCu
|
1
data/backup/keys/home.nas.pub
Normal file
1
data/backup/keys/home.nas.pub
Normal file
|
@ -0,0 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBf2z34n5oovv1PjJrDTNQyrI78oEmazeshLKTwheP4x
|
|
@ -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,
|
||||
'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',
|
||||
},
|
||||
#'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': {
|
||||
|
|
Loading…
Reference in a new issue