set backup execution dir

This commit is contained in:
Michael Jerger 2024-08-23 15:44:40 +02:00
parent 2f46d330e1
commit 9352107720

View file

@ -11,7 +11,8 @@
:restic-repository (bc/env-or-file "RESTIC_REPOSITORY")}) :restic-repository (bc/env-or-file "RESTIC_REPOSITORY")})
(def file-config (merge restic-repo {:backup-path "files" (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" (def db-config (merge restic-repo {:backup-path "pg-database"
@ -47,4 +48,4 @@
(prepare!) (prepare!)
(restic-repo-init!) (restic-repo-init!)
(restic-backup!) (restic-backup!)