From bb8bd63ebd428cedb2c4b3a1b998195bf77a59dc Mon Sep 17 00:00:00 2001 From: ansgarz Date: Fri, 10 Dec 2021 10:36:41 +0100 Subject: [PATCH] add end-maintenance to restore.sh --- infrastructure/docker-backup/image/resources/restore.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/docker-backup/image/resources/restore.sh b/infrastructure/docker-backup/image/resources/restore.sh index 49e3378..b536977 100755 --- a/infrastructure/docker-backup/image/resources/restore.sh +++ b/infrastructure/docker-backup/image/resources/restore.sh @@ -4,7 +4,7 @@ set -Eeox pipefail function main() { -# start-maintenance.sh + start-maintenance.sh file_env AWS_ACCESS_KEY_ID file_env AWS_SECRET_ACCESS_KEY @@ -19,6 +19,8 @@ function main() { restore-db restore-directory '/var/backups/' + end-maintenance.sh + } source /usr/local/lib/functions.sh