Skip to content

Commit 1e46996

Browse files
committed
Release 3.9.4 - See CHANGELOG.md
1 parent e713345 commit 1e46996

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 3.9.4 2023-06-13 <dave at tiredofit dot ca>
2+
3+
### Added
4+
- Add abliity to use --rsyncable argument to zstd archives
5+
6+
17
## 3.9.3 2023-06-05 <dave at tiredofit dot ca>
28

39
### Added

install/assets/functions/10-db-backup

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -565,15 +565,16 @@ cleanup_old_data() {
565565

566566

567567
compression() {
568-
if var_false "${ENABLE_PARALLEL_COMPRESSION}" ; then
569-
PARALLEL_COMPRESSION_THREADS=1
570-
fi
568+
if var_false "${ENABLE_PARALLEL_COMPRESSION}" ; then
569+
PARALLEL_COMPRESSION_THREADS=1
570+
fi
571+
572+
if var_true "${GZ_RSYNCABLE}" ; then
573+
gz_rsyncable=--rsyncable
574+
fi
571575

572-
case "${COMPRESSION,,}" in
576+
case "${COMPRESSION,,}" in
573577
gz* )
574-
if var_true "${GZ_RSYNCABLE}" ; then
575-
gz_rsyncable=--rsyncable
576-
fi
577578
compress_cmd="pigz -q -${COMPRESSION_LEVEL} -p ${PARALLEL_COMPRESSION_THREADS} ${gz_rsyncable}"
578579
compression_type="gzip"
579580
extension=".gz"
@@ -598,7 +599,7 @@ compression() {
598599
target=${target}.xz
599600
;;
600601
zst* )
601-
compress_cmd="zstd -q -q --rm -${COMPRESSION_LEVEL} -T${PARALLEL_COMPRESSION_THREADS} "
602+
compress_cmd="zstd -q -q --rm -${COMPRESSION_LEVEL} -T${PARALLEL_COMPRESSION_THREADS} ${gz_rsyncable}"
602603
compression_type="zstd"
603604
dir_compress_cmd=${compress_cmd}
604605
extension=".zst"

0 commit comments

Comments
 (0)