-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Allow backup on tablet master #2903
Comments
Allowing this is generally useful. It will allow people to deploy vitess on partial clusters where the master need not be served by vitess. |
@dweitzman suggested this workaround on Slack: If you’re in a bind and just want to get another replica set up without losing production data, you use mysqldump to manually make an online logical backup. I think it’s something like |
It might be handy if vitess could manage backups in multiple different formats and let you choose how to collect the backups with commands like If we assume that people probably have mysqldump installed (feels like a safe assumption?...) then this could offer an out-of-the-box escape hatch for loss of replicas. |
With #4699 merged this should be closed now |
Fixed by #4699. |
Opening this issue as per conversation in Slack.
Right now there isn't a workflow to recover from a scenario where:
Afaik we can't trigger a backup on the master using
Backup
(as it's a master) and we can't change type MASTER -> REPLICA usingChangeSlaveType
.The only workaround that I see is to manually perform a backup on the master, rsyncing the data on the slave and restore replication.
The text was updated successfully, but these errors were encountered: