Skip to content
Snippets Groups Projects
Commit 9179c59b authored by intrigeri's avatar intrigeri
Browse files

mysql: don't lock tables in the information_schema database (Closes: #587011)

parent 6e2a9468
Branches
Tags
No related merge requests found
...@@ -22,6 +22,9 @@ version 0.9.8 -- UNRELEASED ...@@ -22,6 +22,9 @@ version 0.9.8 -- UNRELEASED
. Better example.dup documentation. Thanks, Alster! . Better example.dup documentation. Thanks, Alster!
. Added ftp_password option to securely transmit the FTP password . Added ftp_password option to securely transmit the FTP password
from backupninja to duplicity. from backupninja to duplicity.
mysql:
. Don't lock tables in the information_schema database
(Closes: #587011)
doc changes doc changes
manpage: manpage:
. Fix typo in manpage (Closes: #583778) . Fix typo in manpage (Closes: #583778)
......
...@@ -255,6 +255,10 @@ then ...@@ -255,6 +255,10 @@ then
for db in $databases for db in $databases
do do
DUMP_BASE="$MYSQLDUMP $defaultsfile $sqldumpoptions" DUMP_BASE="$MYSQLDUMP $defaultsfile $sqldumpoptions"
if [ "$db" = "information_schema" ]
then
DUMP_BASE="${DUMP_BASE} --skip-lock-tables"
fi
# Dumping structure and data # Dumping structure and data
DUMP="$DUMP_BASE $ignore $db" DUMP="$DUMP_BASE $ignore $db"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment