You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tidb-cloud: document restoring Essential backups to Premium - #24783
Document restoring Essential backup snapshots to new Premium instances through Cross Plan Restore, including AWS and version requirements, source selection, and encryption behavior. Add a short note linking Essential users to the Premium procedure, and update the existing Dedicated-to-Essential instructions for the selectable source plan.
Validation: Markdown lint, internal link checks for both changed files, and git diff --check passed. Reviewed against dbaas-ui commit eb366b367.
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
The changes in this PR were primarily made by an AI agent on behalf of the PR author.
Do your changes match any of the following descriptions?
Delete files
Change aliases
Need modification after applied to another branch
Might cause conflicts after applied to another branch
Summary by CodeRabbit
Documentation
Clarified Cross Plan Restore selections for the source plan, cluster or instance, and AWS cloud provider.
Documented support for restoring eligible AWS backups from active or deleted Dedicated clusters and Essential instances to a new Premium instance.
Updated encryption guidance: the original Dedicated CMEK key must remain accessible for decryption, while destination CMEK is optional. Essential backups allow destination encryption choices, including available key options.
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
No actionable comments were generated in the recent review.
Walkthrough
The Cross Plan Restore documentation now covers AWS Dedicated backups and eligible Essential backups as sources for new Premium instances. It updates source selection fields and encryption guidance. The Essential instructions link eligible snapshots to the Premium restore instructions.
Changes: Cross-plan restore
Layer / File(s)
Summary
Restore sources and selection tidb-cloud/premium/backup-and-restore-premium.md, tidb-cloud/backup-and-restore-serverless.md
The instructions cover AWS backups from active or deleted Dedicated clusters and eligible Essential instances. They describe source selection fields, destination requirements, and the link from the Essential instructions to Premium restore guidance.
The instructions distinguish Dedicated and Essential source encryption. For Dedicated backups, the original key must remain enabled and accessible. Premium CMEK is optional and requires a registered key in the same provider and region. Essential source encryption does not restrict destination settings.
pingcap/docs#24732: Documents related Cross Plan Restore workflows and CMEK instructions for Essential and Premium instances.
pingcap/docs#24740: Defines Premium CMEK and Enhanced Data Encryption restore rules that relate to the encryption guidance updated here.
Suggested reviewers:allenmok
Merge Risk: Minimal · previous review d4d13
This PR updates documentation for restoring Dedicated and Essential backups to new Premium instances. The encryption guidance is now consistent across the pages, and no merge-blocking issue remains.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: documenting how to restore Essential backups to Premium instances. It matches the summary of the tidb-cloud backup-and-restore files and the PR objectives. It is speci…
Description check
The description follows the template. It fills in the 'What is changed' section with the scope of the change, including AWS and version requirements, source selection, encryption behavior, and the Ess…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: documenting how to restore Essential backups to Premium instances. It matches the summary of the tidb-cloud backup-and-restore files and the PR objectives. It is specific and concise, and it has no noise or vague terms.
Full details: Description check
Explanation
The description follows the template. It fills in the 'What is changed' section with the scope of the change, including AWS and version requirements, source selection, encryption behavior, and the Essential-to-Premium note. It marks the v8.5 version checkbox and the AI agent involvement checkbox, and it reports validation results. The CLA checkbox and the related PR link are left unchecked or empty. The 'Other reference link(s)' field is blank. These are non-critical gaps, so the description is mostly complete.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from qiancai. For more information see the Code Review Process. Please ensure that each of them provides their approval before proceeding.
The full list of commands accepted by this bot can be found here.
Details
Needs approval from an approver in each of these files:
Reviewing files that changed from the base of the PR and between 7d45582 and cf8d0db.
Files selected for processing: 1
tidb-cloud/premium/backup-and-restore-premium.md
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
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
area/tidb-cloudThis PR relates to the area of TiDB Cloud.for-cloud-releaseThis PR is related to TiDB Cloud release.size/MDenotes a PR that changes 30-99 lines, ignoring generated files.translation/no-needNo need to translate this PR.
3 participants
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.
What is changed, added or deleted? (Required)
Document restoring Essential backup snapshots to new Premium instances through Cross Plan Restore, including AWS and version requirements, source selection, and encryption behavior. Add a short note linking Essential users to the Premium procedure, and update the existing Dedicated-to-Essential instructions for the selectable source plan.
Validation: Markdown lint, internal link checks for both changed files, and
git diff --checkpassed. Reviewed against dbaas-ui commiteb366b367.Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions.
What is the related PR or file link(s)?
AI agent involvement
Do your changes match any of the following descriptions?
Summary by CodeRabbit