-
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
Added the initial script for the 40x example for backup and restore #16893
Conversation
Signed-off-by: Shail Pujan <[email protected]>
Signed-off-by: Shail Pujan <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Shail Pujan <[email protected]>
Signed-off-by: Shail Pujan <[email protected]>
Signed-off-by: Shail Pujan <[email protected]>
Signed-off-by: Shail Pujan <[email protected]>
f48e817
to
790478d
Compare
Signed-off-by: Shail Pujan <[email protected]>
Signed-off-by: Shail Pujan <[email protected]>
Signed-off-by: Shail Pujan <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #16893 +/- ##
==========================================
- Coverage 67.67% 67.65% -0.02%
==========================================
Files 1584 1584
Lines 254368 254409 +41
==========================================
- Hits 172139 172120 -19
- Misses 82229 82289 +60 ☔ View full report in Codecov by Sentry. |
…script. Signed-off-by: Shail Pujan <[email protected]>
Signed-off-by: Shail Pujan <[email protected]>
Signed-off-by: Shail Pujan <[email protected]>
This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:
If no action is taken within 7 days, this PR will be closed. |
This PR was closed because it has been stale for 7 days with no activity. |
Signed-off-by: Florent Poinsard <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just the nit about the copyright year after the new year.
Signed-off-by: Florent Poinsard <[email protected]>
Signed-off-by: Florent Poinsard <[email protected]>
Description
This pull request adds a new script to the Vitess 401 example series, demonstrating how to create backups and restore tablets within a Vitess environment. The script initializes the necessary components, including the topology server, vtctld, and MySQL instances, before applying the schema and vschema to the specified keyspace. It introduces a new backup logic that identifies a replica tablet for backing up and implements a restore operation from the backup to another tablet. This comprehensive example serves as a practical guide for users to understand the backup and restore process in Vitess, ensuring data integrity and availability.
Related Issue(s)
Checklist
Deployment Notes