Skip to content

Commit

Permalink
Release 4.0.2 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Nov 9, 2023
1 parent 55d2067 commit aaf6309
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 4.0.2 2023-11-09 <dave at tiredofit dot ca>

### Changed
- Properly use custom _S3_HOST variables


## 4.0.1 2023-11-09 <dave at tiredofit dot ca>

### Changed
Expand Down
2 changes: 1 addition & 1 deletion install/assets/functions/10-db-backup
Original file line number Diff line number Diff line change
Expand Up @@ -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=$?
Expand Down

0 comments on commit aaf6309

Please sign in to comment.