@@ -112,33 +112,33 @@ bootstrap_variables() {
112
112
if [ -n "${ENABLE_CHECKSUM}" ]; then
113
113
print_warn "Deprecated and unsupported variable 'ENABLE_CHECKSUM' detected - Please upgrade your variables as they will be removed in version 4.3.0"
114
114
if var_false "${ENABLE_CHECKSUM}" ; then
115
- DEFAULT_CHECKSUM=NONE
115
+ echo " DEFAULT_CHECKSUM=NONE" >> "${backup_instance_vars}"
116
116
fi
117
117
fi
118
118
119
119
if [ -n "${DB_DUMP_BEGIN}" ]; then
120
120
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_DUMP_BEGIN}
121
+ echo " DEFAULT_BACKUP_BEGIN=${DB_DUMP_BEGIN}" >> "${backup_instance_vars}"
122
122
fi
123
123
124
124
if [ -n "${DB_DUMP_FREQ}" ]; then
125
125
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_DUMP_INTERVAL}
126
+ echo " DEFAULT_BACKUP_INTERVAL=${DB_DUMP_INTERVAL}" >> "${backup_instance_vars}"
127
127
fi
128
128
129
129
if [ -n "${DB_DUMP_TARGET}" ]; then
130
130
print_warn "Deprecated and unsupported variable 'DB_DUMP_TARGET' detected - Please upgrade your variables as they will be removed in version 4.3.0"
131
- DEFAULT_FILESYSTEM_PATH=" ${DB_DUMP_TARGET}"
131
+ echo " DEFAULT_FILESYSTEM_PATH=${DB_DUMP_TARGET}" >> "${backup_instance_vars }"
132
132
fi
133
133
134
134
if [ -n "${DB_DUMP_TARGET_ARCHIVE}" ]; then
135
135
print_warn "Deprecated and unsupported variable 'DB_DUMP_TARGET_ACRHIVE' detected - Please upgrade your variables as they will be removed in version 4.3.0"
136
- DEFAULT_FILESYSTEM_ARCHIVE_PATH=" ${DB_DUMP_TARGET_ARCHIVE}"
136
+ echo " DEFAULT_FILESYSTEM_ARCHIVE_PATH=${DB_DUMP_TARGET_ARCHIVE}" >> "${backup_instance_vars }"
137
137
fi
138
138
139
139
if [ -n "${EXTRA_DUMP_OPTS}" ]; then
140
140
print_warn "Deprecated and unsupported variable 'EXTRA_DUMP_OPTS' detected - Please upgrade your variables as they will be removed in version 4.3.0"
141
- DEFAULT_EXTRA_BACKUP_OPTS=" ${EXTRA_DUMP_OPTS}"
141
+ echo " DEFAULT_EXTRA_BACKUP_OPTS=${EXTRA_DUMP_OPTS}" >> "${backup_instance_vars }"
142
142
fi
143
143
##
144
144
@@ -159,8 +159,10 @@ bootstrap_variables() {
159
159
160
160
transform_backup_instance_variable "${backup_instance_number}" ARCHIVE_TIME backup_job_archive_time
161
161
transform_backup_instance_variable "${backup_instance_number}" AUTH backup_job_db_auth
162
+ set -x
162
163
transform_backup_instance_variable "${backup_instance_number}" BACKUP_BEGIN backup_job_backup_begin
163
164
transform_backup_instance_variable "${backup_instance_number}" BACKUP_INTERVAL backup_job_backup_interval
165
+ set +x
164
166
transform_backup_instance_variable "${backup_instance_number}" BACKUP_LOCATION backup_job_backup_location
165
167
transform_backup_instance_variable "${backup_instance_number}" BLACKOUT_BEGIN backup_job_snapshot_blackout_start
166
168
transform_backup_instance_variable "${backup_instance_number}" BLACKOUT_END backup_job_snapshot_blackout_finish
0 commit comments