Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 have 2 MySQL servers, Master & Slave , running on Ubuntu 12.04. I have replication working from the Master to the Slave. If the Master goes down and the Slave is used, how do I get data to replicate back to the Master once it's up ?

share|improve this question

You may want to read:

Once you have switched to the slave (i.e., the slave is the new master), you will have to load a backup onto the old master and start replication towards it exactly as you had previously done with the old slave. In other words, you cannot reuse what you already had on the old master before switching.

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.