Fixed failing test
This commit is contained in:
parent
e659cffbc4
commit
0d634156bd
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"}))))
|
||||
|
||||
|
|
Reference in a new issue