Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support cloning a slave from an online master #28

Open
nevermort opened this issue May 24, 2017 · 2 comments
Open

Support cloning a slave from an online master #28

nevermort opened this issue May 24, 2017 · 2 comments

Comments

@nevermort
Copy link

nevermort commented May 24, 2017

Hi guys. Thx for u'r great soft.
Tell me pls, is there a solution in jetpants for adding (not clone) slave for single master (without any other slaves). (maybe, by using Percona XtraBackup or some other "hot" backup utilities)?
I didn't find any stuff like this in jetpants.

@evanelias
Copy link
Contributor

Jetpants doesn't have support for hot-copy yet, but it is high on the priority list. Most likely it will wrap xtrabackup for this purpose.

Currently though all cloning is cold-copy, meaning the source mysqld is shut down and a physical file copy is performed. This is why the CLI's jetpants clone_slave command currently only allows cloning standby replicas. You can clone a master or read replica via jetpants console by running Ruby code, but this is a disruptive process since the source instance needs to be shut down.

@grahamc grahamc changed the title Add slave Support cloning a slave from an online master May 24, 2017
@nevermort
Copy link
Author

Thanks for answer.
We will expect from you even more excellent solutions and approaches (especially about hot backup process).
My best regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants