add htz-hel.backup-kunsi
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
7c9be01a4f
commit
67b8697808
1 changed files with 37 additions and 0 deletions
37
nodes/htz-hel/backup-kunsi.py
Normal file
37
nodes/htz-hel/backup-kunsi.py
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
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
|
||||||
|
'reboot-enabled': False,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'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'),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue