Added table locking to mysql during backup
This commit is contained in:
parent
01591b9750
commit
c573610769
@ -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}"
|
||||
|
Reference in New Issue
Block a user