mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-22 21:53:42 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
baba842373 |
@@ -1,3 +1,9 @@
|
|||||||
|
## 3.0.13 2022-03-21 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Add compression levels to debug mode
|
||||||
|
|
||||||
|
|
||||||
## 3.0.12 2022-03-21 <dave at tiredofit dot ca>
|
## 3.0.12 2022-03-21 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -343,21 +343,25 @@ compression() {
|
|||||||
case "${COMPRESSION,,}" in
|
case "${COMPRESSION,,}" in
|
||||||
gz* )
|
gz* )
|
||||||
print_notice "Compressing backup with gzip"
|
print_notice "Compressing backup with gzip"
|
||||||
|
print_debug "Compression Level: '${COMPRESSION_LEVEL}'"
|
||||||
target=${target}.gz
|
target=${target}.gz
|
||||||
dumpoutput="$gzip "
|
dumpoutput="$gzip "
|
||||||
;;
|
;;
|
||||||
bz* )
|
bz* )
|
||||||
print_notice "Compressing backup with bzip2"
|
print_notice "Compressing backup with bzip2"
|
||||||
|
print_debug "Compression Level: '${COMPRESSION_LEVEL}'"
|
||||||
target=${target}.bz2
|
target=${target}.bz2
|
||||||
dumpoutput="$bzip "
|
dumpoutput="$bzip "
|
||||||
;;
|
;;
|
||||||
xz* )
|
xz* )
|
||||||
print_notice "Compressing backup with xzip"
|
print_notice "Compressing backup with xzip"
|
||||||
|
print_debug "Compression Level: '${COMPRESSION_LEVEL}'"
|
||||||
target=${target}.xz
|
target=${target}.xz
|
||||||
dumpoutput="$xzip "
|
dumpoutput="$xzip "
|
||||||
;;
|
;;
|
||||||
zst* )
|
zst* )
|
||||||
print_notice "Compressing backup with zstd"
|
print_notice "Compressing backup with zstd"
|
||||||
|
print_debug "Compression Level: '${COMPRESSION_LEVEL}'"
|
||||||
target=${target}.zst
|
target=${target}.zst
|
||||||
dumpoutput="$zstd "
|
dumpoutput="$zstd "
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user