Repository navigation
Use consistent unprivileged MySQL dumps for Server backups - #239
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Corrects the published self-hosted backup example for #236. The dump now uses
--single-transaction --quick --no-tablespaces. The guide tells operators to avoid schema changes during the snapshot, inspect dump errors, and restore into an isolated replacement with Server processes stopped and external objects copied before traffic moves.Evidence
In an isolated stack using published Server 2.4.18 digest
sha256:8dcd89f57fbcf3ba6369f23ae815abe6087185602f904105fb67757ab5e5a3ed, pinned MySQL 8.4 digestsha256:679e7e924f38a3cbb62a3d7df32924b83f7321a602d3f9f967c01b3df18495d6, Redis 7.2 and published Python SDK 2.0.0:mysqldumpcommand emittedPROCESS privilegeerror text but returned status 0 and a dump footer. This makes exit status alone a weak backup check.WorkflowCompletedevent. The inclusive manual restore-to-verification wall time was 233 seconds.The object store in this first drill was an isolated S3 test server. #236 remains open for complete customer-outcome qualification, including a production-like object-store pass and published evidence artifacts. This PR does not claim that full outcome.
MySQL 8.4's mysqldump reference documents the consistent InnoDB snapshot and privilege behavior of these options.
git diff --checkpassed.