Skip to content

Commit 57193cc

Browse files
committed
Properly translate legacy _DUMP var to DEFAULT_BACKUP
1 parent 9863358 commit 57193cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/assets/functions/10-db-backup

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,12 @@ bootstrap_variables() {
118118

119119
if [ -n "${DB_DUMP_BEGIN}" ]; then
120120
print_warn "Deprecated and unsupported variable 'DB_DUMP_BEGIN' detected - Please upgrade your variables as they will be removed in version 4.3.0"
121-
DEFAULT_BACKUP_BEGIN=${DB_BACKUP_BEGIN}
121+
DEFAULT_BACKUP_BEGIN=${DB_DUMP_BEGIN}
122122
fi
123123

124124
if [ -n "${DB_DUMP_FREQ}" ]; then
125125
print_warn "Deprecated and unsupported variable 'DB_DUMP_FREQ' detected - Please upgrade your variables as they will be removed in version 4.3.0"
126-
DEFAULT_BACKUP_INTERVAL=${DB_BACKUP_INTERVAL}
126+
DEFAULT_BACKUP_INTERVAL=${DB_DUMP_INTERVAL}
127127
fi
128128

129129
if [ -n "${DB_DUMP_TARGET}" ]; then

0 commit comments

Comments
 (0)