From 57193cc824a626c544608ba131e937b54e5188af Mon Sep 17 00:00:00 2001 From: Dave Conroy Date: Tue, 7 Nov 2023 11:50:59 -0800 Subject: [PATCH] Properly translate legacy _DUMP var to DEFAULT_BACKUP --- install/assets/functions/10-db-backup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/assets/functions/10-db-backup b/install/assets/functions/10-db-backup index 2494895..544447c 100644 --- a/install/assets/functions/10-db-backup +++ b/install/assets/functions/10-db-backup @@ -118,12 +118,12 @@ bootstrap_variables() { if [ -n "${DB_DUMP_BEGIN}" ]; then print_warn "Deprecated and unsupported variable 'DB_DUMP_BEGIN' detected - Please upgrade your variables as they will be removed in version 4.3.0" - DEFAULT_BACKUP_BEGIN=${DB_BACKUP_BEGIN} + DEFAULT_BACKUP_BEGIN=${DB_DUMP_BEGIN} fi if [ -n "${DB_DUMP_FREQ}" ]; then print_warn "Deprecated and unsupported variable 'DB_DUMP_FREQ' detected - Please upgrade your variables as they will be removed in version 4.3.0" - DEFAULT_BACKUP_INTERVAL=${DB_BACKUP_INTERVAL} + DEFAULT_BACKUP_INTERVAL=${DB_DUMP_INTERVAL} fi if [ -n "${DB_DUMP_TARGET}" ]; then