From 93521077203f5f5b7df36e0a12255038b9d4984e Mon Sep 17 00:00:00 2001 From: Michael Jerger Date: Fri, 23 Aug 2024 15:44:40 +0200 Subject: [PATCH] set backup execution dir --- infrastructure/backup/image/resources/backup.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infrastructure/backup/image/resources/backup.bb b/infrastructure/backup/image/resources/backup.bb index 763f3a5..9473a7f 100755 --- a/infrastructure/backup/image/resources/backup.bb +++ b/infrastructure/backup/image/resources/backup.bb @@ -11,7 +11,8 @@ :restic-repository (bc/env-or-file "RESTIC_REPOSITORY")}) (def file-config (merge restic-repo {:backup-path "files" - :files ["/var/backups/" "gitea/" "git/repositories/"]})) + :execution-directory "/var/backups/" + :files ["gitea/" "git/repositories/"]})) (def db-config (merge restic-repo {:backup-path "pg-database" @@ -47,4 +48,4 @@ (prepare!) (restic-repo-init!) -(restic-backup!) \ No newline at end of file +(restic-backup!)