Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 22 additions & 3 deletions tidb-cloud/backup-and-restore-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,33 @@

TiDB Cloud Backup & Restore features are designed to safeguard your data and ensure business continuity by enabling you to back up and recover data.

<CustomContent plan="byoc">

For TiDB Cloud BYOC, you can manage backup and restore operations through the TiDB Cloud console, while the data plane runs in your own cloud account. This allows you to use managed backup and restore workflows while keeping the BYOC data plane within your cloud environment.

</CustomContent>

## Automatic backup

In TiDB Cloud, snapshot backups are taken automatically by default and stored according to your backup retention policy.

For more information, see the following:

- [Automatic backups for {{{ .starter }}} and {{{ .essential }}} instances](/tidb-cloud/backup-and-restore-serverless.md#automatic-backups)
- [Automatic backups for {{{ .premium }}} instances](/tidb-cloud/premium/backup-and-restore-premium.md#automatic-backups)
- [Automatic backups for {{{ .premium }}} <CustomContent plan="byoc"> and {{{ .byoc}}} </CustomContent> instances](/tidb-cloud/premium/backup-and-restore-premium.md#automatic-backups)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

low

There is an extra space after {{{ .premium }}} and a missing space in {{{ .byoc}}}. Let's adjust the spacing for consistency.

Suggested change
- [Automatic backups for {{{ .premium }}} <CustomContent plan="byoc"> and {{{ .byoc}}} </CustomContent> instances](/tidb-cloud/premium/backup-and-restore-premium.md#automatic-backups)
- [Automatic backups for {{{ .premium }}} <CustomContent plan="byoc"> and {{{ .byoc }}} </CustomContent> instances](/tidb-cloud/premium/backup-and-restore-premium.md#automatic-backups)
References
  1. Correct English grammar, spelling, and punctuation mistakes, if any. Use consistent terminology and formatting. (link)

- [Automatic backups for TiDB Cloud Dedicated clusters](/tidb-cloud/backup-and-restore.md#turn-on-auto-backup)

## Manual backup

Manual backup is a feature of TiDB Cloud Dedicated that enables you to back up your data to a known state as needed, and then restore to that state at any time.
Manual backup enables you to back up your data to a known state as needed, and then restore to that state at any time. You can use a manual backup before high-risk operations such as system upgrades, critical data deletion, or irreversible schema changes.

For more information, see [Perform a manual backup](/tidb-cloud/backup-and-restore.md#perform-a-manual-backup).
{{{ .premium }}} <CustomContent plan="byoc">, {{{ .byoc}}} </CustomContent> and TiDB Cloud Dedicated support manual backups. A manual backup provides a controlled restore point and is retained until you explicitly delete it. Manual backups do not support PITR or partial backups, and each restore operation creates a new instance.

Check failure on line 30 in tidb-cloud/backup-and-restore-concepts.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [PingCAP.Spacing] 's. A' should have one space. Raw Output: {"message": "[PingCAP.Spacing] 's. A' should have one space.", "location": {"path": "tidb-cloud/backup-and-restore-concepts.md", "range": {"start": {"line": 30, "column": 123}}}, "severity": "ERROR"}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

low

There is a missing space in {{{ .byoc}}} and a double space after the period in manual backups. A manual backup. Let's correct these spacing issues for better consistency and readability.

Suggested change
{{{ .premium }}} <CustomContent plan="byoc">, {{{ .byoc}}} </CustomContent> and TiDB Cloud Dedicated support manual backups. A manual backup provides a controlled restore point and is retained until you explicitly delete it. Manual backups do not support PITR or partial backups, and each restore operation creates a new instance.
{{{ .premium }}} <CustomContent plan="byoc">, {{{ .byoc }}} </CustomContent> and TiDB Cloud Dedicated support manual backups. A manual backup provides a controlled restore point and is retained until you explicitly delete it. Manual backups do not support PITR or partial backups, and each restore operation creates a new instance.
References
  1. Correct English grammar, spelling, and punctuation mistakes, if any. Use consistent terminology and formatting. (link)



For more information, see the following:

- [Manual backups for {{{ .premium }}} <CustomContent plan="byoc"> and {{{ .byoc}}} </CustomContent> instances](/tidb-cloud/premium/backup-and-restore-premium.md#manual-backups)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

low

There is a missing space in {{{ .byoc}}}. Let's adjust it to {{{ .byoc }}} for consistency.

Suggested change
- [Manual backups for {{{ .premium }}} <CustomContent plan="byoc"> and {{{ .byoc}}} </CustomContent> instances](/tidb-cloud/premium/backup-and-restore-premium.md#manual-backups)
- [Manual backups for {{{ .premium }}} <CustomContent plan="byoc"> and {{{ .byoc }}} </CustomContent> instances](/tidb-cloud/premium/backup-and-restore-premium.md#manual-backups)
References
  1. Correct English grammar, spelling, and punctuation mistakes, if any. Use consistent terminology and formatting. (link)

- [Perform a manual backup for TiDB Cloud Dedicated clusters](/tidb-cloud/backup-and-restore.md#perform-a-manual-backup)

## Dual region backup

Expand All @@ -42,3 +54,10 @@
- For {{{ .starter }}} instances, Point-in-time Restore is not available.
- For {{{ .essential }}} instances, you can restore to any time within the last 30 days. For more information, see [Restore mode](/tidb-cloud/backup-and-restore-serverless.md#restore-mode).
- For TiDB Cloud Dedicated clusters, you need to [enable PITR](/tidb-cloud/backup-and-restore.md#turn-on-point-in-time-restore) in advance.

## Restore

TiDB Cloud supports restoring data from backup snapshots or point-in-time recovery to a new cluster or instance. Restore operations help you recover from accidental data loss, data corruption, or application errors.

For {{{ .premium }}} <CustomContent plan="byoc"> and {{{ .byoc}}} </CustomContent> instances, you can restore data to a new instance. You can restore from automatic backups, manual backups, or supported external cloud storage backups. PITR is supported only for automatic backups and is not supported for manual backups.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

low

There is an extra space after {{{ .premium }}} and a missing space in {{{ .byoc}}}. Let's adjust the spacing for consistency.

Suggested change
For {{{ .premium }}} <CustomContent plan="byoc"> and {{{ .byoc}}} </CustomContent> instances, you can restore data to a new instance. You can restore from automatic backups, manual backups, or supported external cloud storage backups. PITR is supported only for automatic backups and is not supported for manual backups.
For {{{ .premium }}} <CustomContent plan="byoc"> and {{{ .byoc }}} </CustomContent> instances, you can restore data to a new instance. You can restore from automatic backups, manual backups, or supported external cloud storage backups. PITR is supported only for automatic backups and is not supported for manual backups.
References
  1. Correct English grammar, spelling, and punctuation mistakes, if any. Use consistent terminology and formatting. (link)


16 changes: 13 additions & 3 deletions tidb-cloud/premium/backup-and-restore-premium.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ aliases: ['/tidbcloud/restore-deleted-tidb-cluster']

This document describes how to back up and restore your data on {{{ .premium }}} instances. {{{ .premium }}} supports both automatic backups and manual backups, and lets you restore backup data to a new instance as needed.

<CustomContent plan="byoc">

This document also applies to {{{ .byoc }}}. Backup and restore capabilities for {{{ .byoc }}} are currently consistent with {{{ .premium }}}.

</CustomContent>

Backup files can originate from the following sources:

- Active {{{ .premium }}} instances
Expand Down Expand Up @@ -162,14 +168,16 @@ To restore a deleted {{{ .premium }}} instance from the Recycle Bin, take the fo
>
> If you are in multiple organizations, use the combo box in the upper-left corner to switch to your target organization first.

2. On the **Recycle Bin** page, click the **Premium** tab to go to the recycle bin of {{{ .premium }}} instances.
2. On the **Recycle Bin** page, click the <CustomContent plan="premium">**Premium**</CustomContent><CustomContent plan="byoc">**BYOC**</CustomContent> tab to go to the recycle bin of <CustomContent plan="premium">{{{ .premium }}}</CustomContent><CustomContent plan="byoc">{{{ .byoc }}}</CustomContent> instances.

3. Locate the {{{ .premium }}} instance you want to restore, and then click the **>** button to expand the available backups of the instance.
3. Locate the <CustomContent plan="premium">{{{ .premium }}}</CustomContent><CustomContent plan="byoc">{{{ .byoc }}}</CustomContent> instance you want to restore, and then click the **>** button to expand the available backups of the instance.

4. In the row of your desired backup, click **...**, and then select **Restore**.

5. On the **Restore** page, follow the same steps as [Restore to a new instance](#restore-to-a-new-instance) to restore the backup to a new instance.

<CustomContent plan="premium">

### Restore backups from a different plan type

Currently, you can only restore backups from a {{{ .dedicated }}} cluster hosted on AWS to a new {{{ .premium }}} instance.
Expand All @@ -187,9 +195,11 @@ To restore a backup generated by a {{{ .dedicated }}} cluster, follow these step

3. On the **Restore** page, follow the same steps as [Restore to a new instance](#restore-to-a-new-instance) to restore the backup to a new instance.

</CustomContent>

### Restore backups from cloud storage

{{{ .premium }}} supports restoring backups from cloud storage (such as Amazon S3 and Alibaba Cloud Object Storage Service (OSS)) to a new instance. This feature is compatible with backups generated from {{{ .dedicated }}} clusters or TiDB Self-Managed clusters.
<CustomContent plan="premium">{{{ .premium }}}</CustomContent><CustomContent plan="byoc">{{{ .byoc }}}</CustomContent> supports restoring backups from cloud storage (such as Amazon S3 and Alibaba Cloud Object Storage Service (OSS)) to a new instance. This feature is compatible with backups generated from {{{ .dedicated }}} clusters or TiDB Self-Managed clusters.

>**Note:**
>
Expand Down