diff --git a/CHANGELOG.md b/CHANGELOG.md index c3d374d..468b6f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 3.5.4 2022-10-13 + + ### Changed + - Fix for Influx DB 1 backups when compression enabled + + ## 3.5.3 2022-10-12 ### Changed diff --git a/install/assets/functions/10-db-backup b/install/assets/functions/10-db-backup index 79b269b..26111c0 100644 --- a/install/assets/functions/10-db-backup +++ b/install/assets/functions/10-db-backup @@ -116,7 +116,7 @@ backup_influx() { influxd backup ${influx_compression} ${bucket} -portable -host ${DB_HOST}:${DB_PORT} ${EXTRA_OPTS} "${TEMP_LOCATION}"/"${target_dir}" exit_code=$? check_exit_code $target_dir - print_notice "Creating archive file of '${target_dir}' with tar ${compresion_string}" + print_notice "Creating archive file of '${target_dir}' with tar ${compression_string}" tar cf - "${TEMP_LOCATION}"/"${target_dir}" | $dir_compress_cmd > "${TEMP_LOCATION}"/"${target_dir}".tar"${extension}" target=influx_${db}_${DB_HOST#*//}_${now}.tar${extension} generate_checksum