From c573610769358ef178195154a6b659656ec30875 Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 17 Jul 2015 21:56:09 +1000 Subject: [PATCH] Added table locking to mysql during backup --- scripts/tdp.mysql.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tdp.mysql.sh b/scripts/tdp.mysql.sh index be71460..348dbb1 100755 --- a/scripts/tdp.mysql.sh +++ b/scripts/tdp.mysql.sh @@ -60,7 +60,7 @@ done # Our defaults FILESPACE=${FILESPACE:-"/mysqldump"} -MYSQL_ARGS=${MYSQL_ARGS:-"-K --skip-extended-insert --skip-dump-date --log-error=/var/log/tsm/tdp.mysql.log"} +MYSQL_ARGS=${MYSQL_ARGS:-"-FlK --skip-extended-insert --skip-dump-date --log-error=/var/log/tsm/tdp.mysql.log"} [ -n "$DBPASS" ] && MYSQL_AUTH="-p${DBPASS}" [ -n "$DBUSER" ] && MYSQL_AUTH="-u${DBUSER} ${MYSQL_AUTH}"