add some missing backup paths

This commit is contained in:
Franzi 2025-06-18 08:30:10 +02:00
parent 3e61f1fa06
commit 54114848c3
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 10 additions and 0 deletions

View file

@ -27,6 +27,7 @@ def firewall(metadata):
@metadata_reactor.provides(
'backups/paths',
'zfs/datasets',
)
def timemachine_zfs(metadata):
@ -40,13 +41,18 @@ def timemachine_zfs(metadata):
datasets = {
'tank/timemachine': {},
}
paths = set()
for share_name in shares:
datasets[f'tank/timemachine/{share_name}'] = {
'mountpoint': f'/srv/timemachine/{share_name}',
}
paths.add(f'/srv/timemachine/{share_name}')
return {
'backups': {
'paths': paths,
},
'zfs': {
'datasets': datasets,
},

View file

@ -31,6 +31,9 @@ bundles = [
# for auto-deployment of salonkatrin.de
[metadata.apt.packages.jekyll]
[metadata.backups]
paths = ["/mnt/sewfile/"]
[metadata.check-mail-received.t-online]
email = "franzi.kunsmann@t-online.de"
imap_host = "secureimap.t-online.de"

View file

@ -62,6 +62,7 @@ nodes['home.nas'] = {
'backups': {
'paths': {
'/home/kunsi/',
'/opt/yate/',
'/storage/nas/',
},
},