Skip to content

Commit

Permalink
Release 3.9.4 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Jun 13, 2023
1 parent e713345 commit 1e46996
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 3.9.4 2023-06-13 <dave at tiredofit dot ca>

### Added
- Add abliity to use --rsyncable argument to zstd archives


## 3.9.3 2023-06-05 <dave at tiredofit dot ca>

### Added
Expand Down
17 changes: 9 additions & 8 deletions install/assets/functions/10-db-backup
Original file line number Diff line number Diff line change
Expand Up @@ -565,15 +565,16 @@ cleanup_old_data() {


compression() {
if var_false "${ENABLE_PARALLEL_COMPRESSION}" ; then
PARALLEL_COMPRESSION_THREADS=1
fi
if var_false "${ENABLE_PARALLEL_COMPRESSION}" ; then
PARALLEL_COMPRESSION_THREADS=1
fi

if var_true "${GZ_RSYNCABLE}" ; then
gz_rsyncable=--rsyncable
fi

case "${COMPRESSION,,}" in
case "${COMPRESSION,,}" in
gz* )
if var_true "${GZ_RSYNCABLE}" ; then
gz_rsyncable=--rsyncable
fi
compress_cmd="pigz -q -${COMPRESSION_LEVEL} -p ${PARALLEL_COMPRESSION_THREADS} ${gz_rsyncable}"
compression_type="gzip"
extension=".gz"
Expand All @@ -598,7 +599,7 @@ compression() {
target=${target}.xz
;;
zst* )
compress_cmd="zstd -q -q --rm -${COMPRESSION_LEVEL} -T${PARALLEL_COMPRESSION_THREADS} "
compress_cmd="zstd -q -q --rm -${COMPRESSION_LEVEL} -T${PARALLEL_COMPRESSION_THREADS} ${gz_rsyncable}"
compression_type="zstd"
dir_compress_cmd=${compress_cmd}
extension=".zst"
Expand Down

0 comments on commit 1e46996

Please sign in to comment.