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

I'm have one MySQL master and two MySQL slaves set up to replicate. I'm running my database backup process, consisting of an Xtrabakup (via the perl wrapper Innobackupex) backup and an atomic mysqldump, off one of the slaves. This morning, I noticed the slave I do the backup from had stopped replicating a few days ago, meaning my backups were out of sync with the master.

Should I be backing up from the master?

share|improve this question
up vote 2 down vote accepted

No, you should be monitoring your slaves so that you know when they stop replicating, and can fix it.

share|improve this answer
Not too detailed. You may write a few rows about binlog expirity and possibilities to monitor replicas – Gabor Vincze Mar 8 '12 at 0:16
I have found this handy python script to e-mail me when things go wrong – CamelBlues Mar 12 '12 at 13:30

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.