kunsi-p14s: do backups
This commit is contained in:
parent
5be2610a86
commit
9a8e7abef4
4 changed files with 16 additions and 1 deletions
|
@ -79,7 +79,7 @@ for name, attrs in node.metadata.get('zfs/datasets', {}).items():
|
||||||
if 'mountpoint' not in attrs:
|
if 'mountpoint' not in attrs:
|
||||||
zfs_datasets[name]['canmount'] = 'off'
|
zfs_datasets[name]['canmount'] = 'off'
|
||||||
zfs_datasets[name]['mountpoint'] = 'none'
|
zfs_datasets[name]['mountpoint'] = 'none'
|
||||||
else:
|
elif 'canmount' not in attrs:
|
||||||
zfs_datasets[name]['canmount'] = 'on'
|
zfs_datasets[name]['canmount'] = 'on'
|
||||||
|
|
||||||
for name, attrs in node.metadata.get('zfs/pools', {}).items():
|
for name, attrs in node.metadata.get('zfs/pools', {}).items():
|
||||||
|
|
1
data/backup/keys/kunsi-p14s.key.vault
Normal file
1
data/backup/keys/kunsi-p14s.key.vault
Normal file
|
@ -0,0 +1 @@
|
||||||
|
encrypt$gAAAAABiB-rPruxytUp5eFUDx-bfXhTHoXbV4E71--i0EFgQxVn0bmgfNrQQL21mAHm9JqSnwtzHxuHW5C_VYXb1vsg6b3lopue3i4XPHZYFe0VU5SDFdKbP2JEQcuMZfYqjN49MxM3bGVkTiErNpf-Ctgf_sop02O_IYNR3fhvD8IST32RUrfqYHPAky9O48pon202bPi10jPMu2dZTevE3ODtBHdiY1Sx7vTzpUiVskXj9H3A3dzywM2w7KpHiUx5sROaOWNZBQ2MASQLfIbAe1mQobCpySKsMNhbxmpTO2Cg75a8tLbtTicrzwU9DB8HOLn5L3ed-K1bPpP57_bWrxl9_Jrvgu6PgDB8b1PTInycej8o7zZKF-UTi1aGcjJAvSRymWDb045WBQs3HIJJuBlKoHwjMUN7Vw9u1JqooTSmJWFql3pdIlhR3YZxTe5wrT1jxHeyxKPk7YlNqcj6nlK8v9QT9w24IdF0yekVl_HVnFgZ4EQ_DH_wdKTnAJWLOMkqYjlFCz0HS_IOF-X3oPr8UcbXzQ6dtcJAh3nR6kJRUIfifzEk0hBkZZ8axiDt2KFFYLqv5SM5TmtRuxeJq38Eqa-uv62w2_lJZiLQ6wFHR7UoGgBexp65vGe3cDnN7j1fPXgGo
|
1
data/backup/keys/kunsi-p14s.pub
Normal file
1
data/backup/keys/kunsi-p14s.pub
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGDTtww1OWI29zxXpUANToHzzBR/Kp0Jqpii0+JUr3MY kunsi@kunsi-p14s.kunbox.net
|
|
@ -2,6 +2,7 @@ nodes['kunsi-p14s'] = {
|
||||||
'hostname': 'localhost',
|
'hostname': 'localhost',
|
||||||
'bundles': {
|
'bundles': {
|
||||||
'arch-with-gui',
|
'arch-with-gui',
|
||||||
|
'backup-client',
|
||||||
'lldp',
|
'lldp',
|
||||||
'lm-sensors',
|
'lm-sensors',
|
||||||
#'nfs-client',
|
#'nfs-client',
|
||||||
|
@ -131,6 +132,18 @@ nodes['kunsi-p14s'] = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'zfs': {
|
'zfs': {
|
||||||
|
'datasets': {
|
||||||
|
# this is not a complete list, but we can't create that
|
||||||
|
# structure using bundlewrap anyway, so there's no point
|
||||||
|
# in adding it here.
|
||||||
|
'zroot/system/root': {
|
||||||
|
'canmount': 'noauto',
|
||||||
|
'mountpoint': '/',
|
||||||
|
},
|
||||||
|
'zroot/user/kunsi': {
|
||||||
|
'mountpoint': '/home/kunsi',
|
||||||
|
},
|
||||||
|
},
|
||||||
'snapshots': {
|
'snapshots': {
|
||||||
'retain_per_dataset': {
|
'retain_per_dataset': {
|
||||||
'zroot/user/kunsi': {
|
'zroot/user/kunsi': {
|
||||||
|
|
Loading…
Reference in a new issue