[Rt-commit] rt branch, 4.0/backups-mysql-patch, created. rt-4.0.19-72-g2449e5a
Wallace Reis
wreis at bestpractical.com
Mon Apr 7 17:46:27 EDT 2014
The branch, 4.0/backups-mysql-patch has been created
at 2449e5ae007096b6c30839c34912711b690c55f9 (commit)
- Log -----------------------------------------------------------------
commit 2449e5ae007096b6c30839c34912711b690c55f9
Author: Wallace Reis <wreis at bestpractical.com>
Date: Mon Apr 7 18:40:49 2014 -0300
I#22893 - Update mysqldump command on backups docs
When you set the option "--no-data" on the first command, then it should
*not* try and do a LOCK on the "sessions" table cause obvious you're not
going to get data. This bug was fixed only in mysql-server 5.6, so lets
just suggest adding "--single-transaction" no matter the version for
simplicity's sake.
diff --git a/docs/backups.pod b/docs/backups.pod
index 0928790..5619943 100644
--- a/docs/backups.pod
+++ b/docs/backups.pod
@@ -31,7 +31,7 @@ RT. :)
=head3 MySQL
- ( mysqldump rt4 --tables sessions --no-data; \
+ ( mysqldump rt4 --tables sessions --no-data --single-transaction; \
mysqldump rt4 --ignore-table rt4.sessions --single-transaction ) \
| gzip > rt-`date +%Y%m%d`.sql.gz
-----------------------------------------------------------------------
More information about the rt-commit
mailing list