LOCK TABLES on the relevant tables.
FLUSH TABLES for the tables.
FLUSH TABLES statement is needed to ensure all active index pages are written to disk before the backup begins.
What is the LOCK TABLES syntax?
© 2007 John Michael Pierobon