24 lines
No EOL
1.2 KiB
Clojure
24 lines
No EOL
1.2 KiB
Clojure
{:restic-repo {:password-file #env-or-file "FILE_PASSWORD_FILE"
|
|
:restic-repository "/restic-repo"
|
|
:debug true}
|
|
:file-config #merge [#ref [:restic-repo]
|
|
{:new-password-file "/tmp/file_new_password"
|
|
:backup-path "files"
|
|
:execution-directory "/var/backups/"
|
|
:files ["test-backup"]
|
|
:restore-target-directory "test-restore"}]
|
|
:file-config-with-new #merge [#ref [:file-config]
|
|
{:password-file "/tmp/file_new_password"}]
|
|
:db-config #merge [#ref [:restic-repo]
|
|
{:new-password-file "/tmp/file_new_password"
|
|
:backup-path "db"
|
|
:pg-db "mydb"
|
|
:pg-user "user"
|
|
:pg-password "password"}]
|
|
:db-roles-config #merge [#ref [:restic-repo]
|
|
{:new-password-file "/tmp/file_new_password"
|
|
:backup-path "db-roles"
|
|
:pg-db "mydb"
|
|
:pg-user "user"
|
|
:pg-password "password"}]
|
|
:dry-run {:dry-run true :debug true}} |