Skip to content

Commit c81993a

Browse files
author
Kristan Kenney
committed
Merge branch 'staging/fixes' into staging/v1.2.0-release
2 parents ac34529 + b28881e commit c81993a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,7 @@ fi
11161116

11171117
# Backups
11181118
echo "BACKUP_SYSTEM='local'" >> $HESTIA/conf/hestia.conf
1119+
echo "BACKUP_GZIP='9'" >> $HESTIA/conf/hestia.conf
11191120

11201121
# Language
11211122
echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,7 @@ fi
11441144

11451145
# Backups
11461146
echo "BACKUP_SYSTEM='local'" >> $HESTIA/conf/hestia.conf
1147+
echo "BACKUP_GZIP='9'" >> $HESTIA/conf/hestia.conf
11471148

11481149
# Language
11491150
echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf

install/upgrade/versions/latest.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,10 @@ PGA_ALIAS_CHECK=$(cat $HESTIA/conf/hestia.conf | grep DB_PGA_ALIAS)
197197
$HESTIA/bin/v-change-sys-db-alias "pga" "phppgadmin"
198198
fi
199199
fi
200+
201+
# Ensure that backup compression level is correctly set
202+
GZIP_LVL_CHECK=$(cat $HESTIA/conf/hestia.conf | grep BACKUP_GZIP)
203+
if [ -z "$GZIP_LVL_CHECK" ]; then
204+
echo "[ * ] Updating backup compression level variable..."
205+
$BIN/v-change-sys-config-value "BACKUP_GZIP" '9'
206+
fi

0 commit comments

Comments
 (0)