bundlewrap/nodes/htz-hel/backup-sophie.py

51 lines
1.2 KiB
Python
Raw Normal View History

2022-01-04 13:40:05 +00:00
nodes['htz-hel.backup-sophie'] = {
'hostname': 'backup.sophies-kitchen.eu',
'bundles': {
'zfs',
},
'groups': {
'debian-bullseye',
},
'metadata': {
2022-01-04 13:59:37 +00:00
'apt': {
'packages': {
'borgbackup': {},
},
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',
},
},
'icinga_options': {
'pretty_name': 'backup.sophies-kitchen.eu',
},
'vm': {
'cpu': 4,
'ram': 8,
},
'zfs': {
'datasets': {
'tank/ejgwthink': {
'mountpoint': '/mnt/backups/ejgwthink',
},
},
'pools': {
'tank': {
'when_creating': {
'config': [{
'devices': {'/dev/sdb'},
}],
},
},
},
},
},
}