1
0
mirror of https://github.com/deajan/obackup.git synced 2024-12-26 15:33:41 +01:00

Fixed double time check in database backup

This commit is contained in:
deajan 2016-08-26 11:57:55 +02:00
parent fc84c633a8
commit e966682ecc

View File

@ -5,7 +5,7 @@ PROGRAM="obackup"
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
CONTACT="http://www.netpower.fr/obackup - ozy@netpower.fr"
PROGRAM_VERSION=2.1-dev
PROGRAM_BUILD=2016082501
PROGRAM_BUILD=2016082601
IS_STABLE=no
source "./ofunctions.sh"
@ -825,8 +825,7 @@ function BackupDatabases {
for database in $SQL_BACKUP_TASKS
do
Logger "Backing up database [$database]." "NOTICE"
BackupDatabase $database &
WaitForTaskCompletion $! $SOFT_MAX_EXEC_TIME_DB_TASK $HARD_MAX_EXEC_TIME_DB_TASK ${FUNCNAME[0]} true $KEEP_LOGGING
BackupDatabase $database
CheckTotalExecutionTime
done
}