File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -191,11 +191,11 @@ Your Organization will be mapped to `DB_USER` and your root token will need to b
191191If ` BACKUP_LOCATION ` = ` S3 ` then the following options are used.
192192
193193| Parameter | Description | Default |
194- | --------------------- | ----------------------------------------------------------------------------------------- | ------- |
194+ | ----------------------- | ------------------------------------------------------------------------------------------- | --------- |
195195| ` S3_BUCKET ` | S3 Bucket name e.g. ` mybucket ` | |
196196| ` S3_KEY_ID ` | S3 Key ID | |
197197| ` S3_KEY_SECRET ` | S3 Key Secret | |
198- | ` S3_PATH ` | S3 Pathname to save to e.g. '` backup ` ' | |
198+ | ` S3_PATH ` | S3 Pathname to save to (must end in a trailing slash e.g. '` backup/ ` ') | |
199199| ` S3_REGION ` | Define region in which bucket is defined. Example: ` ap-northeast-2 ` | |
200200| ` S3_HOST ` | Hostname (and port) of S3-compatible service, e.g. ` minio:8080 ` . Defaults to AWS. | |
201201| ` S3_PROTOCOL ` | Protocol to connect to ` S3_HOST ` . Either ` http ` or ` https ` . Defaults to ` https ` . | ` https ` |
Original file line number Diff line number Diff line change @@ -469,7 +469,7 @@ cleanup_old_data() {
469469 s3_filename=$(echo $s3_file | awk {'print $4'})
470470 if [ "$s3_filename" != "" ] ; then
471471 print_debug "Deleting $s3_filename"
472- silent aws ${PARAM_AWS_ENDPOINT_URL} s3 rm s3://${S3_BUCKET}/${S3_PATH}/ ${s3_filename} ${s3_ssl} ${s3_ca_cert} ${S3_EXTRA_OPTS}
472+ silent aws ${PARAM_AWS_ENDPOINT_URL} s3 rm s3://${S3_BUCKET}/${S3_PATH}${s3_filename} ${s3_ssl} ${s3_ca_cert} ${S3_EXTRA_OPTS}
473473 fi
474474 fi
475475
You can’t perform that action at this time.
0 commit comments