diff --git a/CHANGELOG.md b/CHANGELOG.md index bd4733c..6bcced6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 3.0.13 2022-03-21 + + ### Added + - Add compression levels to debug mode + + ## 3.0.12 2022-03-21 ### Added diff --git a/install/assets/functions/10-db-backup b/install/assets/functions/10-db-backup index 841590e..7ec4b39 100755 --- a/install/assets/functions/10-db-backup +++ b/install/assets/functions/10-db-backup @@ -343,21 +343,25 @@ compression() { case "${COMPRESSION,,}" in gz* ) print_notice "Compressing backup with gzip" + print_debug "Compression Level: '${COMPRESSION_LEVEL}'" target=${target}.gz dumpoutput="$gzip " ;; bz* ) print_notice "Compressing backup with bzip2" + print_debug "Compression Level: '${COMPRESSION_LEVEL}'" target=${target}.bz2 dumpoutput="$bzip " ;; xz* ) print_notice "Compressing backup with xzip" + print_debug "Compression Level: '${COMPRESSION_LEVEL}'" target=${target}.xz dumpoutput="$xzip " ;; zst* ) print_notice "Compressing backup with zstd" + print_debug "Compression Level: '${COMPRESSION_LEVEL}'" target=${target}.zst dumpoutput="$zstd " ;;