add end-maintenance to restore.sh

This commit is contained in:
ansgarz 2021-12-10 10:36:41 +01:00
parent 0a7c2676e8
commit bb8bd63ebd

View file

@ -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