MySQL Forums
Forum List  »  Replication

Re: Getting consistent backup of slave that has foreign keys
Posted by: Rick James
Date: March 06, 2016 02:58PM

Another approach to building a new slave:

1. Stop mysqld on existing slave
2. Install MySQL on new slave (no data yet). Create my.cnf, with unique server_id.
3. Copy the entire mysql tree to the new slave. (Not including my.cnf)
4. Start both slaves -- they will both "catch up" on replication from the point of step 1.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Getting consistent backup of slave that has foreign keys
859
March 06, 2016 02:58PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.