File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 11161116
11171117# Backups
11181118echo " BACKUP_SYSTEM='local'" >> $HESTIA /conf/hestia.conf
1119+ echo " BACKUP_GZIP='9'" >> $HESTIA /conf/hestia.conf
11191120
11201121# Language
11211122echo " LANGUAGE='$lang '" >> $HESTIA /conf/hestia.conf
Original file line number Diff line number Diff line change 11441144
11451145# Backups
11461146echo " BACKUP_SYSTEM='local'" >> $HESTIA /conf/hestia.conf
1147+ echo " BACKUP_GZIP='9'" >> $HESTIA /conf/hestia.conf
11471148
11481149# Language
11491150echo " LANGUAGE='$lang '" >> $HESTIA /conf/hestia.conf
Original file line number Diff line number Diff 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
199199fi
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
You can’t perform that action at this time.
0 commit comments