Skip to content
Snippets Groups Projects
Commit d6a02e85 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

set gzip compression from 9 to 4

parent a86b50bc
No related branches found
No related tags found
1 merge request!147Pgsql dump with snapshots
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
# 2024-03-14 ah v2.0: use profiles for local and remote databases # 2024-03-14 ah v2.0: use profiles for local and remote databases
# 2024-03-18 ah fix for db detection from file and cli restore # 2024-03-18 ah fix for db detection from file and cli restore
# 2024-10-02 ah reset $rc before calling db plugin # 2024-10-02 ah reset $rc before calling db plugin
# 2024-12-13 ah set gzip compression from 9 to 4
# ====================================================================== # ======================================================================
# --- variables: # --- variables:
...@@ -76,7 +77,7 @@ ...@@ -76,7 +77,7 @@
# $myrc is last returncode - set in fetchrc # $myrc is last returncode - set in fetchrc
if [ $myrc -eq 0 ]; then if [ $myrc -eq 0 ]; then
echo -n "gzip $_outfile ... " echo -n "gzip $_outfile ... "
gzip -9 -f "${_outfile}" gzip -4 -f "${_outfile}"
fetchrc fetchrc
else else
color.echo error "ERROR occured while dumping - no gzip of $_outfile" color.echo error "ERROR occured while dumping - no gzip of $_outfile"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment