From 7c45dc533f78b2cdaa3334c75590be0829453744 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Wed, 31 Jul 2024 17:26:18 +0100 Subject: [PATCH] build: update trigger for odk db backup script to run --- src/backend/backup-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/backup-entrypoint.sh b/src/backend/backup-entrypoint.sh index e17a584671..c54c0ab27a 100644 --- a/src/backend/backup-entrypoint.sh +++ b/src/backend/backup-entrypoint.sh @@ -125,7 +125,7 @@ while true; do pretty_echo "### Backup FMTM Complete ###" # Only run ODK Central DB Backups if variables set - if [ -n "${CENTRAL_DB_HOST}" ]; then + if [ -n "${CENTRAL_DB_PASSWORD}" ]; then pretty_echo "### Backup ODK Central $(date +%Y-%m-%d_%H:%M:%S) ###" check_central_db_vars_present wait_for_db "${CENTRAL_DB_HOST:-central-db}"