Skip to content

tidb-cloud: document restoring Essential backups to Premium - #24783

Open
qiancai wants to merge 4 commits into
pingcap:release-8.5from
qiancai:restore-essential-to-premium
Open

qiancai wants to merge 4 commits into
pingcap:release-8.5from
qiancai:restore-essential-to-premium

Conversation

@qiancai

@qiancai qiancai commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

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 --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.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v8.5 (TiDB 8.5 versions)
  • v8.4 (TiDB 8.4 versions)
  • v8.3 (TiDB 8.3 versions)
  • v8.2 (TiDB 8.2 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

AI agent involvement

  • 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.

@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 30, 2026
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

Note

Reviews paused

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.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review

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.
Restore encryption requirements
tidb-cloud/premium/backup-and-restore-premium.md, tidb-cloud/premium/enhanced-data-encryption-premium.md
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.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

  • 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: Passed 4

Check name Status Explanation
Title check Passed 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 Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between cf8d0db and d4d1300.

Files selected for processing: 1

  • tidb-cloud/premium/enhanced-data-encryption-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.

@qiancai qiancai added translation/no-need No need to translate this PR. area/tidb-cloud This PR relates to the area of TiDB Cloud. labels Nov 30, 2026
@ti-chi-bot ti-chi-bot Bot removed the missing-translation-status This PR does not have translation status info. label Nov 30, 2026
@qiancai qiancai self-assigned this Nov 30, 2026
@ti-chi-bot

ti-chi-bot Bot commented Nov 30, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

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:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review info

Run configuration

Commits

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.

@lilin90 lilin90 added the for-cloud-release This PR is related to TiDB Cloud release. label Dec 1, 2026
Co-authored-by: AllenMok <42613621+AllenMok@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tidb-cloud This PR relates to the area of TiDB Cloud. for-cloud-release This PR is related to TiDB Cloud release. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants