set backup execution dir
This commit is contained in:
parent
2f46d330e1
commit
9352107720
1 changed files with 3 additions and 2 deletions
|
@ -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!)
|
||||||
|
|
Loading…
Reference in a new issue