2022-01-04 14:18:41 +00:00
|
|
|
nodes['htz-hel.backup-kunsi'] = {
|
|
|
|
'hostname': '2a01:4f9:6b:2d99::1337',
|
|
|
|
'bundles': {
|
|
|
|
'backup-server',
|
|
|
|
'dm-crypt',
|
|
|
|
'zfs',
|
|
|
|
},
|
|
|
|
'groups': {
|
|
|
|
'debian-bullseye',
|
|
|
|
},
|
|
|
|
'metadata': {
|
|
|
|
'apt': {
|
|
|
|
'unattended-upgrades': {
|
|
|
|
# requires manual apply after reboot to unlock dm-crypt
|
|
|
|
# devices
|
2022-01-23 04:47:42 +00:00
|
|
|
'reboot_enabled': False,
|
2022-01-04 14:18:41 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
'interfaces': {
|
|
|
|
'ens18': {
|
|
|
|
'ips': {
|
|
|
|
'2a01:4f9:6b:2d99::1337/64',
|
|
|
|
},
|
|
|
|
'gateway6': '2a01:4f9:6b:2d99::2',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'backups': {
|
|
|
|
# This is the backup target.
|
|
|
|
'exclude_from_backups': True,
|
|
|
|
},
|
|
|
|
'backup-server': {
|
|
|
|
'encrypted-devices': {
|
|
|
|
'/dev/sdb1': bwpass.password('bw/backup-kunsi/encryption-passphrase'),
|
|
|
|
},
|
2022-01-04 15:13:24 +00:00
|
|
|
'clients': {
|
|
|
|
'kunsi-t470': {
|
|
|
|
'user': 'kunsi-t470',
|
2022-01-05 21:56:41 +00:00
|
|
|
'exclude_from_monitoring': True,
|
2022-01-05 08:53:18 +00:00
|
|
|
'retain': {
|
|
|
|
'daily': 30,
|
|
|
|
'weekly': 6,
|
|
|
|
'monthly': 12,
|
|
|
|
},
|
2022-01-04 15:13:24 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'openssh': {
|
|
|
|
'allowed_users': {
|
|
|
|
'kunsi-t470', # backup user
|
|
|
|
},
|
2022-01-04 14:18:41 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|