2022-01-04 13:40:05 +00:00
|
|
|
nodes['htz-hel.backup-sophie'] = {
|
|
|
|
'hostname': 'backup.sophies-kitchen.eu',
|
|
|
|
'bundles': {
|
2022-01-04 16:29:27 +00:00
|
|
|
'backup-server',
|
2022-01-04 13:40:05 +00:00
|
|
|
'zfs',
|
|
|
|
},
|
|
|
|
'groups': {
|
|
|
|
'debian-bullseye',
|
2024-06-08 16:46:51 +00:00
|
|
|
'sophie',
|
2022-01-04 13:40:05 +00:00
|
|
|
},
|
|
|
|
'metadata': {
|
2022-01-04 13:59:37 +00:00
|
|
|
'apt': {
|
|
|
|
'packages': {
|
2022-01-05 21:46:40 +00:00
|
|
|
'mosh': {},
|
2022-01-04 13:59:37 +00:00
|
|
|
'borgbackup': {},
|
|
|
|
},
|
2022-01-04 16:29:27 +00:00
|
|
|
'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 16:29:27 +00:00
|
|
|
},
|
2022-01-04 13:40:05 +00:00
|
|
|
},
|
|
|
|
'backups': {
|
|
|
|
'exclude_from_backups': True,
|
|
|
|
},
|
|
|
|
'interfaces': {
|
|
|
|
'ens18': {
|
|
|
|
'ips': {
|
|
|
|
'2a01:4f9:6b:2d99::c0c0:a/64',
|
|
|
|
},
|
|
|
|
'gateway6': '2a01:4f9:6b:2d99::2',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'vm': {
|
|
|
|
'cpu': 4,
|
|
|
|
'ram': 8,
|
|
|
|
},
|
2022-01-04 16:29:27 +00:00
|
|
|
'backup-server': {
|
|
|
|
'zfs-base': 'tank/backups',
|
|
|
|
},
|
2022-01-05 21:46:40 +00:00
|
|
|
'nftables': {
|
2023-09-24 18:59:58 +00:00
|
|
|
'input': {
|
2022-01-05 21:46:40 +00:00
|
|
|
'50-sophie-misc': [
|
2023-09-24 18:59:58 +00:00
|
|
|
'udp dport { 60000-61000 } accept',
|
|
|
|
'tcp dport 5201 accept',
|
2022-01-05 21:46:40 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2022-01-04 13:40:05 +00:00
|
|
|
'zfs': {
|
|
|
|
'datasets': {
|
|
|
|
'tank/ejgwthink': {
|
|
|
|
'mountpoint': '/mnt/backups/ejgwthink',
|
|
|
|
},
|
2023-04-29 11:15:36 +00:00
|
|
|
'tank/ejgwdesk': {
|
|
|
|
'mountpoint': '/mnt/backups/ejgwdesk',
|
|
|
|
},
|
2022-11-16 17:48:41 +00:00
|
|
|
'tank/moto-sophie': {
|
|
|
|
'mountpoint': '/mnt/backups/moto-sophie',
|
|
|
|
},
|
2022-01-04 16:29:27 +00:00
|
|
|
'tank/backups': {},
|
2022-01-04 13:40:05 +00:00
|
|
|
},
|
|
|
|
'pools': {
|
|
|
|
'tank': {
|
|
|
|
'when_creating': {
|
|
|
|
'config': [{
|
|
|
|
'devices': {'/dev/sdb'},
|
|
|
|
}],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|