1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Don't back up dirs that don't exist

This commit is contained in:
RGBCube 2024-04-30 12:56:08 +03:00
parent b82fe04a5b
commit 1d4b925f86
No known key found for this signature in database

View file

@ -23,15 +23,12 @@ systemConfiguration {
paths = [ paths = [
"/tmp/postgresql-dump.sql.gz" "/tmp/postgresql-dump.sql.gz"
] ++ map (dir: "/var/lib/${dir}") [ ] ++ map (dir: "/var/lib/${dir}") [
"dkim"
"forgejo" "forgejo"
"gitea-runner" "gitea-runner"
"grafana" "grafana"
"mail"
"matrix-sliding-sync" "matrix-sliding-sync"
"matrix-synapse" "matrix-synapse"
"nextcloud" "nextcloud"
"postfix"
]; ];
backupPrepareCommand = '' backupPrepareCommand = ''