From 9c3316f1f28e2f4811d0478c48395eeec04e4532 Mon Sep 17 00:00:00 2001 From: Fabio Woxxy Date: Sat, 17 Sep 2011 17:26:15 +0200 Subject: [PATCH] Single transactions makes it faster? Weird, but it's good to have it not to lock up everything. --- mysqltos3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysqltos3.sh b/mysqltos3.sh index 36d693b..8e1bbc1 100644 --- a/mysqltos3.sh +++ b/mysqltos3.sh @@ -4,7 +4,7 @@ # Under a MIT license # dump all databases -mysqldump --quick --user=youruser --password=yourpassword --all-databases > ~/all-databases.sql +mysqldump --quick --user=youruser --password=yourpassword --single-transaction --all-databases > ~/all-databases.sql if [ $1 != month ] then