File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ source $HESTIA/conf/hestia.conf
2222# Action #
2323# ----------------------------------------------------------#
2424
25+ $BIN /v-check-vesta-license > /dev/null
26+
27+ # Auto-repair all databases before backuping all accounts
28+ mysqlrepair --all-databases --check --auto-repair
29+
2530if [ -z " $BACKUP_SYSTEM " ]; then
2631 exit
2732fi
Original file line number Diff line number Diff line change @@ -947,10 +947,10 @@ wait_for_backup_if_it_is_not_time_for_backup() {
947947 then
948948 hour=$( date +" %H" ) ;
949949 while [ " $hour " -gt " 6" ]; do
950- if [ " $WAIT_LOOP_ENTERED " -eq 0 ]; then
950+ # if [ "$WAIT_LOOP_ENTERED" -eq 0 ]; then
951951 # do something when enter sleeping state
952952 # $BIN/v-restart-web-backend
953- fi
953+ # fi
954954 WAIT_LOOP_ENTERED=1
955955 current_date_time=" ` date " +%Y-%m-%d %H:%M:%S" ` " ;
956956 echo " $current_date_time - wait to backup user $user - current hour is $hour " ;
You can’t perform that action at this time.
0 commit comments