Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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 geert.vanderkelen.org/post/678 –  CamelBlues Mar 12 '12 at 13:30
add comment

Your Answer

 
discard

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.