Skip to content

Commit

Permalink
Release 4.1.4 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Aug 13, 2024
1 parent 90f53a7 commit 0d2b3cc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 4.1.4 2024-08-13 <dave at tiredofit dot ca>

Please note that if using encryption using a passphrase, you may be encountering issues with manual decryption. This release fixes that.
If you try to manually decrypt and your passphrase fails. Try wrapping it in single (') or double (") quotes.

### Changed
- Fix for stray quotes appearing inside of ENCRYPT_PASSPHRASE variables


## 4.1.3 2024-07-05 <dave at tiredofit dot ca>

### Changed
Expand Down
6 changes: 5 additions & 1 deletion install/assets/functions/10-db-backup
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ bootstrap_variables() {
sed -i "s|_PASS='\(.*\)'|_PASS=\1|g" "${backup_instance_vars}"
fi

if grep -qo ".*_PASSPHRASE='.*'" "${backup_instance_vars}"; then
print_debug "[bootstrap_variables] [backup_init] Found _PASSPHRASE variable with quotes"
sed -i "s|_PASSPHRASE='\(.*\)'|_PASSPHRASE=\1|g" "${backup_instance_vars}"
fi

if grep -qo "MONGO_CUSTOM_URI='.*'" "${backup_instance_vars}"; then
print_debug "[bootstrap_variables] [backup_init] Found _MONGO_CUSTOM_URI variable with quotes"
sed -i "s|MONGO_CUSTOM_URI='\(.*\)'|MONGO_CUSTOM_URI=\1|g" "${backup_instance_vars}"
Expand Down Expand Up @@ -657,7 +662,6 @@ backup_mssql() {
compression
pre_dbbackup all
run_as_user ${compress_cmd} "${temporary_directory}/${backup_job_filename_original}"

file_encryption
timer backup finish
generate_checksum
Expand Down

0 comments on commit 0d2b3cc

Please sign in to comment.