switch miniserver backups to HEL
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Sophie Schiller 2022-01-04 17:29:27 +01:00
parent 3e0269ba99
commit 8684c2cf82
2 changed files with 11 additions and 1 deletions

View file

@ -1,5 +1,4 @@
# sophie's miniserver # sophie's miniserver
# mostly unmanaged
nodes['htz-cloud.miniserver'] = { nodes['htz-cloud.miniserver'] = {
'bundles': { 'bundles': {
@ -52,6 +51,7 @@ nodes['htz-cloud.miniserver'] = {
'echo \'core.weechat */layout store\' >> /home/sophie/.weechat/weechat_fifo\n' \ 'echo \'core.weechat */layout store\' >> /home/sophie/.weechat/weechat_fifo\n' \
'echo \'core.weechat */save\' >> /home/sophie/.weechat/weechat_fifo\n', 'echo \'core.weechat */save\' >> /home/sophie/.weechat/weechat_fifo\n',
}, },
'target': "htz-hel.backup-sophie",
}, },
'backups': { 'backups': {
'paths': { 'paths': {

View file

@ -1,6 +1,7 @@
nodes['htz-hel.backup-sophie'] = { nodes['htz-hel.backup-sophie'] = {
'hostname': 'backup.sophies-kitchen.eu', 'hostname': 'backup.sophies-kitchen.eu',
'bundles': { 'bundles': {
'backup-server',
'zfs', 'zfs',
}, },
'groups': { 'groups': {
@ -11,6 +12,11 @@ nodes['htz-hel.backup-sophie'] = {
'packages': { 'packages': {
'borgbackup': {}, 'borgbackup': {},
}, },
'unattended-upgrades': {
# requires manual apply after reboot to unlock dm-crypt
# devices
'reboot-enabled': False,
},
}, },
'backups': { 'backups': {
'exclude_from_backups': True, 'exclude_from_backups': True,
@ -30,11 +36,15 @@ nodes['htz-hel.backup-sophie'] = {
'cpu': 4, 'cpu': 4,
'ram': 8, 'ram': 8,
}, },
'backup-server': {
'zfs-base': 'tank/backups',
},
'zfs': { 'zfs': {
'datasets': { 'datasets': {
'tank/ejgwthink': { 'tank/ejgwthink': {
'mountpoint': '/mnt/backups/ejgwthink', 'mountpoint': '/mnt/backups/ejgwthink',
}, },
'tank/backups': {},
}, },
'pools': { 'pools': {
'tank': { 'tank': {