diff --git a/nodes/htz-hel/backup-sophie.py b/nodes/htz-hel/backup-sophie.py new file mode 100644 index 0000000..fb3198b --- /dev/null +++ b/nodes/htz-hel/backup-sophie.py @@ -0,0 +1,50 @@ +nodes['htz-hel.backup-sophie'] = { + 'hostname': 'backup.sophies-kitchen.eu', + 'bundles': { + 'zfs', + }, + 'groups': { + 'debian-bullseye', + }, + 'metadata': { + 'apt': { + 'packages': { + 'borgbackup': {}, + }, + }, + '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'}, + }], + }, + }, + }, + }, + }, +}