home.nas: do some backups
This commit is contained in:
parent
b94c5fa020
commit
05f87bad77
3 changed files with 17 additions and 8 deletions
|
@ -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': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue