Skip to content

Commit 0d2b3cc

Browse files
committed
Release 4.1.4 - See CHANGELOG.md
1 parent 90f53a7 commit 0d2b3cc

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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

install/assets/functions/10-db-backup

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)