Fixed failing test

This commit is contained in:
Clemens Geibel 2021-07-16 18:10:00 +02:00
parent e659cffbc4
commit 0d634156bd
2 changed files with 5 additions and 1 deletions

View file

@ -11,6 +11,8 @@ function main() {
file_env POSTGRES_PASSWORD
file_env POSTGRES_USER
# Im Jira pod: /opt/atlassian-jira-software-standalone/bin/stop-jira.sh
# Restore latest snapshot into /var/backups/restic-restore
rm -rf /var/backups/restic-restore
restore-directory '/var/backups/restic-restore'
@ -23,6 +25,8 @@ function main() {
drop-create-db
restore-roles
restore-db
# /opt/atlassian-jira-software-standalone/bin/start-jira.sh
}
source /usr/local/lib/functions.sh

View file

@ -20,7 +20,7 @@
:metadata {:name "backup-config"
:labels {:app.kubernetes.io/name "backup"
:app.kubernetes.io/part-of "jira"}}
:stringData
:data
{:restic-repository "s3:restic-repository"}}
(cut/generate-config {:restic-repository "s3:restic-repository"}))))