add end-maintenance to restore.sh
This commit is contained in:
parent
0a7c2676e8
commit
bb8bd63ebd
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@ set -Eeox pipefail
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
|
|
||||||
# start-maintenance.sh
|
start-maintenance.sh
|
||||||
|
|
||||||
file_env AWS_ACCESS_KEY_ID
|
file_env AWS_ACCESS_KEY_ID
|
||||||
file_env AWS_SECRET_ACCESS_KEY
|
file_env AWS_SECRET_ACCESS_KEY
|
||||||
|
@ -19,6 +19,8 @@ function main() {
|
||||||
restore-db
|
restore-db
|
||||||
restore-directory '/var/backups/'
|
restore-directory '/var/backups/'
|
||||||
|
|
||||||
|
end-maintenance.sh
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
source /usr/local/lib/functions.sh
|
source /usr/local/lib/functions.sh
|
||||||
|
|
Loading…
Reference in a new issue