From aaf6309cc413bd30802fd98a22c8f2e5c26af638 Mon Sep 17 00:00:00 2001 From: "dave@tiredofit.ca" Date: Thu, 9 Nov 2023 08:09:59 -0800 Subject: [PATCH] Release 4.0.2 - See CHANGELOG.md --- CHANGELOG.md | 6 ++++++ install/assets/functions/10-db-backup | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2454806..a6fcedf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 4.0.2 2023-11-09 + + ### Changed + - Properly use custom _S3_HOST variables + + ## 4.0.1 2023-11-09 ### Changed diff --git a/install/assets/functions/10-db-backup b/install/assets/functions/10-db-backup index f617ebb..748b610 100644 --- a/install/assets/functions/10-db-backup +++ b/install/assets/functions/10-db-backup @@ -1399,7 +1399,7 @@ move_dbbackup() { s3_ssl="--no-verify-ssl" fi - [[ ( -n "${S3_HOST}" ) ]] && PARAM_AWS_ENDPOINT_URL=" --endpoint-url ${backup_job_s3_protocol}://${backup_job_s3_host}" + [[ ( -n "${backup_job_s3_host}" ) ]] && PARAM_AWS_ENDPOINT_URL=" --endpoint-url ${backup_job_s3_protocol}://${backup_job_s3_host}" silent aws ${PARAM_AWS_ENDPOINT_URL} s3 cp ${TEMP_PATH}/${backup_job_filename} s3://${backup_job_s3_bucket}/${backup_job_s3_path}/${backup_job_filename} ${s3_ssl} ${s3_ca_cert} ${backup_job_s3_extra_opts} move_exit_code=$?