Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The reason I ask is because these instructions seem to indicate that setting up a slave is different when using xtrabackup.

share|improve this question
up vote 1 down vote accepted

Yes, it certainly is different. MySQL has a LOAD DATA FROM MASTER command. It's deprecated, locks all tables while it's running and it only works on MyISAM and ARCHIVE tables. It doesn't even exist in MySQL 5.5.

If by "mysql native master/slave replication setup" you were referring to mysqldump, mysqlhotcopy or a filesystem copy while the master is not running, these all require the same locking (or shutting down) of the server as LOAD DATA FROM MASTER and mysqlhotcopy will only work on MyISAM and ARCHIVE tables.

XtraBackup, on the other hand, will copy all your InnoDB tables from the running master without locking any tables and will only lock the MyISAM tables at the end for the minimum time possible while it copies your MyISAM tables over to the slave.

While the process is different, the end result once you have loaded the backup into the slave is exactly the same.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.