auto: sync 2026-05-29

This commit is contained in:
2026-05-29 03:15:02 +02:00
parent ec01ccfdfb
commit 3d89e18d23
2 changed files with 100 additions and 4 deletions
+92 -4
View File
@@ -1,5 +1,5 @@
{
"modno": 14,
"modno": 16,
"version": 4,
"instance": "nuclide.systems",
"repos": [
@@ -69,7 +69,8 @@
"/mnt/pve/unas/services/traccar",
"/mnt/pve/unas/services/vaultwarden",
"/mnt/pve/unas/services/shared-db-garage",
"/mnt/pve/unas/media/documents/public/paperless-ngx"
"/mnt/pve/unas/media/documents/public/paperless-ngx",
"/mnt/pve/unas/services/open-webui"
],
"schedule": {
"cron": "0 1 * * 1,2,3,4,5",
@@ -107,6 +108,39 @@
"actionCommand": {
"command": "bash /opt/backrest/scripts/n8n-prestage.sh"
}
},
{
"conditions": [
"CONDITION_SNAPSHOT_SUCCESS"
],
"actionGotify": {
"baseUrl": "http://192.168.1.40:10003",
"token": "AtIMGOYcZsb5HfO",
"priorityDefault": 3,
"template": "Plan: {{ .Plan.Id }}\nRepo: {{ .Repo.Id }}\nFiles new: {{ .SnapshotStats.FilesNew }}\nSize added: {{ formatSizeBytes .SnapshotStats.DataAdded }}\nDuration: {{ .Duration }}\nSnapshot: {{ .SnapshotId }}",
"titleTemplate": "\u2713 Backrest: {{ .Plan.Id }} succeeded"
}
},
{
"conditions": [
"CONDITION_SNAPSHOT_ERROR",
"CONDITION_SNAPSHOT_WARNING"
],
"actionGotify": {
"baseUrl": "http://192.168.1.40:10003",
"token": "AtIMGOYcZsb5HfO",
"priorityDefault": 8,
"template": "Plan: {{ .Plan.Id }}\nRepo: {{ .Repo.Id }}\nError: {{ .Error }}\nDuration: {{ .Duration }}",
"titleTemplate": "\u2717 Backrest: {{ .Plan.Id }} FAILED"
}
},
{
"conditions": [
"CONDITION_SNAPSHOT_START"
],
"actionCommand": {
"command": "bash /opt/backrest/scripts/openwebui-prestage.sh"
}
}
]
},
@@ -126,7 +160,34 @@
"monthly": 6,
"yearly": 1
}
}
},
"hooks": [
{
"conditions": [
"CONDITION_SNAPSHOT_SUCCESS"
],
"actionGotify": {
"baseUrl": "http://192.168.1.40:10003",
"token": "AtIMGOYcZsb5HfO",
"priorityDefault": 3,
"template": "Plan: {{ .Plan.Id }}\nRepo: {{ .Repo.Id }}\nFiles new: {{ .SnapshotStats.FilesNew }}\nSize added: {{ formatSizeBytes .SnapshotStats.DataAdded }}\nDuration: {{ .Duration }}\nSnapshot: {{ .SnapshotId }}",
"titleTemplate": "\u2713 Backrest: {{ .Plan.Id }} succeeded"
}
},
{
"conditions": [
"CONDITION_SNAPSHOT_ERROR",
"CONDITION_SNAPSHOT_WARNING"
],
"actionGotify": {
"baseUrl": "http://192.168.1.40:10003",
"token": "AtIMGOYcZsb5HfO",
"priorityDefault": 8,
"template": "Plan: {{ .Plan.Id }}\nRepo: {{ .Repo.Id }}\nError: {{ .Error }}\nDuration: {{ .Duration }}",
"titleTemplate": "\u2717 Backrest: {{ .Plan.Id }} FAILED"
}
}
]
},
{
"id": "media-backup-plan",
@@ -144,7 +205,34 @@
"monthly": 6,
"yearly": 1
}
}
},
"hooks": [
{
"conditions": [
"CONDITION_SNAPSHOT_SUCCESS"
],
"actionGotify": {
"baseUrl": "http://192.168.1.40:10003",
"token": "AtIMGOYcZsb5HfO",
"priorityDefault": 3,
"template": "Plan: {{ .Plan.Id }}\nRepo: {{ .Repo.Id }}\nFiles new: {{ .SnapshotStats.FilesNew }}\nSize added: {{ formatSizeBytes .SnapshotStats.DataAdded }}\nDuration: {{ .Duration }}\nSnapshot: {{ .SnapshotId }}",
"titleTemplate": "\u2713 Backrest: {{ .Plan.Id }} succeeded"
}
},
{
"conditions": [
"CONDITION_SNAPSHOT_ERROR",
"CONDITION_SNAPSHOT_WARNING"
],
"actionGotify": {
"baseUrl": "http://192.168.1.40:10003",
"token": "AtIMGOYcZsb5HfO",
"priorityDefault": 8,
"template": "Plan: {{ .Plan.Id }}\nRepo: {{ .Repo.Id }}\nError: {{ .Error }}\nDuration: {{ .Duration }}",
"titleTemplate": "\u2717 Backrest: {{ .Plan.Id }} FAILED"
}
}
]
}
],
"auth": {