File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1+ ## 4.1.4 2024-08-13 <dave at tiredofit dot ca >
2+
3+ Please note that if using encryption using a passphrase, you may be encountering issues with manual decryption. This release fixes that.
4+ If you try to manually decrypt and your passphrase fails. Try wrapping it in single (') or double (") quotes.
5+
6+ ### Changed
7+ - Fix for stray quotes appearing inside of ENCRYPT_PASSPHRASE variables
8+
9+
110## 4.1.3 2024-07-05 <dave at tiredofit dot ca >
211
312 ### Changed
Original file line number Diff line number Diff line change @@ -165,6 +165,11 @@ bootstrap_variables() {
165165 sed -i "s|_PASS='\(.*\)'|_PASS=\1|g" "${backup_instance_vars}"
166166 fi
167167
168+ if grep -qo ".*_PASSPHRASE='.*'" "${backup_instance_vars}"; then
169+ print_debug "[bootstrap_variables] [backup_init] Found _PASSPHRASE variable with quotes"
170+ sed -i "s|_PASSPHRASE='\(.*\)'|_PASSPHRASE=\1|g" "${backup_instance_vars}"
171+ fi
172+
168173 if grep -qo "MONGO_CUSTOM_URI='.*'" "${backup_instance_vars}"; then
169174 print_debug "[bootstrap_variables] [backup_init] Found _MONGO_CUSTOM_URI variable with quotes"
170175 sed -i "s|MONGO_CUSTOM_URI='\(.*\)'|MONGO_CUSTOM_URI=\1|g" "${backup_instance_vars}"
@@ -657,7 +662,6 @@ backup_mssql() {
657662 compression
658663 pre_dbbackup all
659664 run_as_user ${compress_cmd} "${temporary_directory}/${backup_job_filename_original}"
660-
661665 file_encryption
662666 timer backup finish
663667 generate_checksum
You can’t perform that action at this time.
0 commit comments