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
+
1
10
## 4.1.3 2024-07-05 <dave at tiredofit dot ca >
2
11
3
12
### Changed
Original file line number Diff line number Diff line change @@ -165,6 +165,11 @@ bootstrap_variables() {
165
165
sed -i "s|_PASS='\(.*\)'|_PASS=\1|g" "${backup_instance_vars}"
166
166
fi
167
167
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
+
168
173
if grep -qo "MONGO_CUSTOM_URI='.*'" "${backup_instance_vars}"; then
169
174
print_debug "[bootstrap_variables] [backup_init] Found _MONGO_CUSTOM_URI variable with quotes"
170
175
sed -i "s|MONGO_CUSTOM_URI='\(.*\)'|MONGO_CUSTOM_URI=\1|g" "${backup_instance_vars}"
@@ -657,7 +662,6 @@ backup_mssql() {
657
662
compression
658
663
pre_dbbackup all
659
664
run_as_user ${compress_cmd} "${temporary_directory}/${backup_job_filename_original}"
660
-
661
665
file_encryption
662
666
timer backup finish
663
667
generate_checksum
You can’t perform that action at this time.
0 commit comments