From cb03ddb7aa98a5cf7f600cbb968844b54a262c4d Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 12:19:46 +0800 Subject: [PATCH 01/21] tidbcloud: add backup& restore --- tidb-cloud/backup-and-restore-premium.md | 176 +++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 tidb-cloud/backup-and-restore-premium.md diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md new file mode 100644 index 0000000000000..aec6ce4d89c48 --- /dev/null +++ b/tidb-cloud/backup-and-restore-premium.md @@ -0,0 +1,176 @@ +--- +title: Back Up and Restore Data on Premium +summary: Learn how to back up and restore your Premium instance. +aliases: ['/tidbcloud/restore-deleted-tidb-cluster'] +--- + +# Back Up and Restore Data on Premium + +This document describes how to back up and restore your data on TiDB Cloud Premium instances. TiDB Cloud Premium supports automatic backup and allows you to restore backup data to a new instance when needed. + +Backup files can originate from the following sources: + +- Active TiDB Cloud Premium instances +- TiDB Cloud Dedicated clusters +- The recycle bin for backups from deleted Dedicated clusters or Premium instances + +> **Tip:** +> +> To learn how to back up and restore data on TiDB Cloud Dedicated clusters, see [Back Up and Restore TiDB Cloud Dedicated Data](/tidb-cloud/backup-and-restore.md). + +> To learn how to back up and restore data on {{{ .starter }}} or {{{ .essential }}} clusters, see [Back Up and Restore Data on {{{ .starter }}} or Essential](/tidb-cloud/backup-and-restore-serverless.md). + +## View the Backup page + +1. On the [**Instances**](https://tidbcloud.com/project/clusters) page, click the name of your target instance to go to its overview page. + + > **Tip:** + > + > You can use the combo box in the upper-left corner to switch between organizations and instances. + +2. In the left navigation pane, click **Data** > **Backup**. + +## Automatic backups + +TiDB Cloud automatically backs up your instance data, allowing you to restore data from a backup snapshot to minimize data loss in the event of a disaster. + +### Learn about the backup setting + +Compared with {{{ .starter }}} clusters and {{{ .essential }}} clusters, TiDB Premium offers enhanced backup capabilities, including longer retention and hourly backup support. + + +| Backup setting | {{{ .starter }}} (free) | {{{ .starter }}} (with spending limit > 0) | {{{ .essential }}} | {{{ .premium }}} | +|------------------|--------------------------|---------------------------------------------|--------------------|------------------| +| Backup Cycle | Daily | Daily | Daily | Daily + Hourly | +| Backup Retention | 1 day | 30 days | 30 days | Up to 33 days | +| Backup Time | Fixed time | Configurable | Configurable | Configurable | + + +- **Backup Cycle** determines how frequently backups are created. + + - Premium instances support both **daily** and **hourly** backups. + - **Default** is **hourly backups**. + +- **Backup Retention** is the duration for which backups are retained. Expired backups cannot be restored. + + - Premium instances can retain backups for up to **33 days**. + +- **Backup Time** is the scheduled start time for backups. + + - For Premium instances, **daily backups** can be configured to start at a preferred time (in 30-minute intervals), while **hourly backups** always run on the hour. + + ### Configure the backup settings + +To configure backups for a Premium instance, follow these steps: + +1. Navigate to the [**Backup**](#view-the-backup-page) page of your TiDB instance. + +2. Click **Backup Setting**. This will open the **Backup Setting** window, where you can configure automatic backup options. + +3. In **Backup Cycle**, choose between the **Hourly Backup** and **Daily Backup** tabs: + - **Hourly Backup** (default): + - Runs **on the hour**. + - You can configure **Backup Retention** (1–33 days). + - **Daily Backup**: + - Runs at a configurable time in **30-minute intervals**. + - You can configure both **Backup Retention** (1–33 days) and **Backup Time**. + +4. Click **Save** to save your settings. + +### Delete backup files + +To delete an existing backup file for your TiDB Cloud Premium , perform the following steps: + +1. Navigate to the [**Backup**](#view-the-backup-page) page of your instance. + +2. Locate the corresponding backup file you want to delete, and click **...** > **Delete** in the **Action** column. + +## Restore + +TiDB Cloud provides restore functionality to help recover data in case of accidental loss or corruption. You can restore from backups of active instances or from deleted in the Recycle Bin. + + +### Restore mode + +TiDB Cloud supports snapshot restore and point-in-time restore for your instance. + +- **Snapshot Restore**: restores your instance from a specific backup snapshot. + +- **Point-in-Time Restore**: restores your instance to a specific point in time. + + - **Premium instances**: can be restored to any time within the past 33 days, but not before the instance creation time or later than one minute before the current time. + +### Restore destination + +TiDB Cloud supports restoring data to a new instancee. + +### Restore to a new instance + +> **Note:** +> +> User credentials and permissions from the source instance will **not** be restored to the new instance, You must recreate any users and permissions manually in the new instance. + +To restore your data to a new instance, take the following steps: + +1. Navigate to the [**Backup**](#view-the-backup-page) page of your instance. + +2. Click **Restore**. + +3. On the **Select a Backup** page, choose the **Restore Mode** you want to use. You can restore from a specific backup snapshot or restore to a specific point in time. + + +
+ + To restore from a selected backup snapshot, take the following steps: + + 1. Click **Snapshot Restore**. + 2. Select the backup snapshot you want to restore from. + +
+
+ + To restore to a specific point in time for a {{{ .essential }}} instance, take the following steps: + + 1. Click **Point-in-Time Restore**. + 2. Select the date and time you want to restore to. + +
+
+ + +4. Click **Next** to proceed to the **Restore to a New TiDB** page. + +5. Configure your new TiDB instance for restoration. The steps are the same as [creating a new TiDB instance]() + + - Note: The cloud provider and region for the new instance will match those of the backup. + +6. Click **Restore** to start the restore process. + + +Once the restore process begins, the instance status changes to **Restoring**. The instance will remain unavailable until the restore is complete and the status changes to **Available**. + + + +### Restore from Recycle Bin + +To restore a deleted instance from recycle bin, take the following steps: + +1. Log in to the [TiDB Cloud console](https://tidbcloud.com), and then navigate to the [TiDB instance](https://staging.tidbcloud.com/tidbs?orgId=1369847559692509630&uiMode=new-offerings-preview) page. In the top-right corner, click **Recycle Bin**. + +2. On the **Recycle Bin** page, locate the TiDB instance you want to restore: + + - Click the **>** button to expand instance details. + + - Find the desired backup, click **…** in the **Action** column, and then select **Restore**. + +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. + + + + + +## Limitations + +- Manual backups are not supported for Premium instances. + + From 781cbc8ce57df8e56c557cd71c25036c74bb3792 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 15:58:11 +0800 Subject: [PATCH 02/21] Update tidb-cloud/backup-and-restore-premium.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-cloud/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index aec6ce4d89c48..22fb5cdf27d8a 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -129,7 +129,7 @@ To restore your data to a new instance, take the following steps:
- To restore to a specific point in time for a {{{ .essential }}} instance, take the following steps: + To restore to a specific point in time for a Premium instance, take the following steps: 1. Click **Point-in-Time Restore**. 2. Select the date and time you want to restore to. From c461320409173b7e4671c1577790baeba19dec51 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 15:58:33 +0800 Subject: [PATCH 03/21] Update tidb-cloud/backup-and-restore-premium.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-cloud/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index 22fb5cdf27d8a..13a442ded17a3 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -108,7 +108,7 @@ TiDB Cloud supports restoring data to a new instancee. > **Note:** > -> User credentials and permissions from the source instance will **not** be restored to the new instance, You must recreate any users and permissions manually in the new instance. +> User credentials and permissions from the source instance will **not** be restored to the new instance. You must recreate any users and permissions manually in the new instance. To restore your data to a new instance, take the following steps: From 7e29b473b37b5843ed4cee689591698e8de9f498 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 15:58:45 +0800 Subject: [PATCH 04/21] Update tidb-cloud/backup-and-restore-premium.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-cloud/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index 13a442ded17a3..98d9020146fea 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -59,7 +59,7 @@ Compared with {{{ .starter }}} clusters and {{{ .essential }}} clusters, TiDB Pr - For Premium instances, **daily backups** can be configured to start at a preferred time (in 30-minute intervals), while **hourly backups** always run on the hour. - ### Configure the backup settings +### Configure the backup settings To configure backups for a Premium instance, follow these steps: From 1500897dcc3fbac57e0b453befae6cdd8916bcd5 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 15:59:06 +0800 Subject: [PATCH 05/21] Update tidb-cloud/backup-and-restore-premium.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-cloud/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index 98d9020146fea..e950e3c2a0aca 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -142,7 +142,7 @@ To restore your data to a new instance, take the following steps: 5. Configure your new TiDB instance for restoration. The steps are the same as [creating a new TiDB instance]() - - Note: The cloud provider and region for the new instance will match those of the backup. + > **Note:** The cloud provider and region for the new instance will match those of the backup. 6. Click **Restore** to start the restore process. From 494f2dfb993ca8004d84923fc35c138dfb15b5e2 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 15:59:19 +0800 Subject: [PATCH 06/21] Update tidb-cloud/backup-and-restore-premium.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-cloud/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index e950e3c2a0aca..3dc6a56c918a6 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -153,7 +153,7 @@ Once the restore process begins, the instance status changes to **Restoring**. T ### Restore from Recycle Bin -To restore a deleted instance from recycle bin, take the following steps: +To restore a deleted instance from the Recycle Bin, take the following steps: 1. Log in to the [TiDB Cloud console](https://tidbcloud.com), and then navigate to the [TiDB instance](https://staging.tidbcloud.com/tidbs?orgId=1369847559692509630&uiMode=new-offerings-preview) page. In the top-right corner, click **Recycle Bin**. From f830337c467e096ff25b003b16d47e639d10a896 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 16:04:17 +0800 Subject: [PATCH 07/21] Update tidb-cloud/backup-and-restore-premium.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-cloud/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index 3dc6a56c918a6..657f0de3594d1 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -157,7 +157,7 @@ To restore a deleted instance from the Recycle Bin, take the following steps: 1. Log in to the [TiDB Cloud console](https://tidbcloud.com), and then navigate to the [TiDB instance](https://staging.tidbcloud.com/tidbs?orgId=1369847559692509630&uiMode=new-offerings-preview) page. In the top-right corner, click **Recycle Bin**. -2. On the **Recycle Bin** page, locate the TiDB instance you want to restore: +2. On the **Recycle Bin** page, locate the TiDB instance you want to restore: - Click the **>** button to expand instance details. From a22073a416d4819cabbc3b3c137b92a536dfee5d Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 16:04:56 +0800 Subject: [PATCH 08/21] Update tidb-cloud/backup-and-restore-premium.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-cloud/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index 657f0de3594d1..19555b0812ecf 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -102,7 +102,7 @@ TiDB Cloud supports snapshot restore and point-in-time restore for your instance ### Restore destination -TiDB Cloud supports restoring data to a new instancee. +TiDB Cloud supports restoring data to a new instance. ### Restore to a new instance From acf0ed6b156d193e3c061c18a79bba096a4952f0 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 16:05:11 +0800 Subject: [PATCH 09/21] Update tidb-cloud/backup-and-restore-premium.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-cloud/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index 19555b0812ecf..dd37dc49d0508 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -12,7 +12,7 @@ Backup files can originate from the following sources: - Active TiDB Cloud Premium instances - TiDB Cloud Dedicated clusters -- The recycle bin for backups from deleted Dedicated clusters or Premium instances +- The Recycle Bin for backups from deleted Dedicated clusters or Premium instances > **Tip:** > From b7984b49ef0f568feff866ee0e52bb737f1e8a58 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 16:05:43 +0800 Subject: [PATCH 10/21] Update tidb-cloud/backup-and-restore-premium.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-cloud/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index dd37dc49d0508..a532b1cd60f9d 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -87,7 +87,7 @@ To delete an existing backup file for your TiDB Cloud Premium , perform the foll ## Restore -TiDB Cloud provides restore functionality to help recover data in case of accidental loss or corruption. You can restore from backups of active instances or from deleted in the Recycle Bin. +TiDB Cloud provides restore functionality to help recover data in case of accidental loss or corruption. You can restore from backups of active instances or from deleted instances in the Recycle Bin. ### Restore mode From c616e5cb2726081281c5a3ff7e638ea2d0fae458 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Mon, 20 Oct 2025 18:29:38 +0800 Subject: [PATCH 11/21] Update backup-and-restore-premium.md --- tidb-cloud/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index a532b1cd60f9d..fdc2b18627dda 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -140,7 +140,7 @@ To restore your data to a new instance, take the following steps: 4. Click **Next** to proceed to the **Restore to a New TiDB** page. -5. Configure your new TiDB instance for restoration. The steps are the same as [creating a new TiDB instance]() +5. Configure your new TiDB instance for restoration. The steps are the same as [creating a new TiDB instance](/tidb-cloud/create-tidb-cluster-premium.md) > **Note:** The cloud provider and region for the new instance will match those of the backup. From 791404fda46b3a0c6772a5cbe24b3eca0dcfd6a9 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Tue, 21 Oct 2025 17:12:28 +0800 Subject: [PATCH 12/21] Update TOC-tidb-cloud-premium.md --- TOC-tidb-cloud-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TOC-tidb-cloud-premium.md b/TOC-tidb-cloud-premium.md index 656c0fdfd8943..f9e764ffac384 100644 --- a/TOC-tidb-cloud-premium.md +++ b/TOC-tidb-cloud-premium.md @@ -136,7 +136,7 @@ - [Connection Overview](/tidb-cloud/connect-to-tidb-cluster-serverless.md) - [Connect via Public Endpoint](/tidb-cloud/connect-via-standard-connection-serverless.md) - [Connect via Private Endpoint with Alibaba Cloud](/tidb-cloud/set-up-private-endpoint-connections-on-alibaba-cloud.md) - - [Back Up and Restore TiDB Cloud Data](/tidb-cloud/backup-and-restore-serverless.md) + - [Back Up and Restore TiDB Cloud Data](/tidb-cloud/backup-and-restore-premium.md) - Use an HTAP Cluster with TiFlash - [TiFlash Overview](/tiflash/tiflash-overview.md) - [Create TiFlash Replicas](/tiflash/create-tiflash-replicas.md) From ae4a7e0e679e018f6ded1d43a4900056ce9d61a8 Mon Sep 17 00:00:00 2001 From: Lilian Lee Date: Mon, 27 Oct 2025 16:51:20 +0800 Subject: [PATCH 13/21] Apply suggestions from code review --- tidb-cloud/backup-and-restore-premium.md | 1 - 1 file changed, 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index fdc2b18627dda..27366375002e7 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -89,7 +89,6 @@ To delete an existing backup file for your TiDB Cloud Premium , perform the foll TiDB Cloud provides restore functionality to help recover data in case of accidental loss or corruption. You can restore from backups of active instances or from deleted instances in the Recycle Bin. - ### Restore mode TiDB Cloud supports snapshot restore and point-in-time restore for your instance. From 49e9932a36641fd73fb0f2b47d093509c93b3dbf Mon Sep 17 00:00:00 2001 From: lilin90 Date: Mon, 27 Oct 2025 17:34:52 +0800 Subject: [PATCH 14/21] Refine backup and restore docs for Premium Revised documentation for backup and restore features in Premium and Serverless instances to improve clarity, consistency, and use of templated variables. Updated instructions, terminology, and backup/restore limitations for both instance types. --- tidb-cloud/backup-and-restore-premium.md | 87 +++++++++------------ tidb-cloud/backup-and-restore-serverless.md | 6 +- 2 files changed, 41 insertions(+), 52 deletions(-) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/backup-and-restore-premium.md index 27366375002e7..a9f729a4b4f72 100644 --- a/tidb-cloud/backup-and-restore-premium.md +++ b/tidb-cloud/backup-and-restore-premium.md @@ -1,28 +1,27 @@ --- -title: Back Up and Restore Data on Premium -summary: Learn how to back up and restore your Premium instance. +title: Back Up and Restore {{{ .premium }}} Data +summary: Learn how to back up and restore your {{{ .premium }}} instances. aliases: ['/tidbcloud/restore-deleted-tidb-cluster'] --- -# Back Up and Restore Data on Premium +# Back Up and Restore {{{ .premium }}} Data -This document describes how to back up and restore your data on TiDB Cloud Premium instances. TiDB Cloud Premium supports automatic backup and allows you to restore backup data to a new instance when needed. +This document describes how to back up and restore your data on {{{ .premium }}} instances. {{{ .premium }}} supports automatic backup and lets you restore backup data to a new instance as needed. Backup files can originate from the following sources: -- Active TiDB Cloud Premium instances -- TiDB Cloud Dedicated clusters -- The Recycle Bin for backups from deleted Dedicated clusters or Premium instances +- Active {{{ .premium }}} instances +- {{{ .dedicated }}} clusters +- The Recycle Bin for backups from deleted {{{ .dedicated }}} clusters or Premium instances > **Tip:** > -> To learn how to back up and restore data on TiDB Cloud Dedicated clusters, see [Back Up and Restore TiDB Cloud Dedicated Data](/tidb-cloud/backup-and-restore.md). - -> To learn how to back up and restore data on {{{ .starter }}} or {{{ .essential }}} clusters, see [Back Up and Restore Data on {{{ .starter }}} or Essential](/tidb-cloud/backup-and-restore-serverless.md). +> - To learn how to back up and restore data on {{{ .dedicated }}} clusters, see [Back Up and Restore {{{ .dedicated }}} Data](/tidb-cloud/backup-and-restore.md). +> - To learn how to back up and restore data on {{{ .starter }}} or {{{ .essential }}} clusters, see [Back Up and Restore {{{ .starter }}} or Essential Data](/tidb-cloud/backup-and-restore-serverless.md). ## View the Backup page -1. On the [**Instances**](https://tidbcloud.com/project/clusters) page, click the name of your target instance to go to its overview page. +1. On the [**TiDB Instances**](https://tidbcloud.com/project/clusters) page, click the name of your target instance to go to its overview page. > **Tip:** > @@ -32,12 +31,11 @@ Backup files can originate from the following sources: ## Automatic backups -TiDB Cloud automatically backs up your instance data, allowing you to restore data from a backup snapshot to minimize data loss in the event of a disaster. +TiDB Cloud automatically backs up your instance data, letting you restore data from a backup snapshot to minimize data loss in the event of a disaster. ### Learn about the backup setting -Compared with {{{ .starter }}} clusters and {{{ .essential }}} clusters, TiDB Premium offers enhanced backup capabilities, including longer retention and hourly backup support. - +Compared with {{{ .starter }}} clusters and {{{ .essential }}} clusters, {{{ .premium }}} offers enhanced backup capabilities, including longer retention and hourly backup support. | Backup setting | {{{ .starter }}} (free) | {{{ .starter }}} (with spending limit > 0) | {{{ .essential }}} | {{{ .premium }}} | |------------------|--------------------------|---------------------------------------------|--------------------|------------------| @@ -45,41 +43,41 @@ Compared with {{{ .starter }}} clusters and {{{ .essential }}} clusters, TiDB Pr | Backup Retention | 1 day | 30 days | 30 days | Up to 33 days | | Backup Time | Fixed time | Configurable | Configurable | Configurable | +- **Backup Cycle** determines how frequently backups are created. -- **Backup Cycle** determines how frequently backups are created. + - Premium instances support both **daily** and **hourly** backups. + - The **default** is **hourly backups**. - - Premium instances support both **daily** and **hourly** backups. - - **Default** is **hourly backups**. - - **Backup Retention** is the duration for which backups are retained. Expired backups cannot be restored. - - Premium instances can retain backups for up to **33 days**. + - Premium instances can retain backups for up to **33 days**. -- **Backup Time** is the scheduled start time for backups. +- **Backup Time** is the scheduled start time for backups. - - For Premium instances, **daily backups** can be configured to start at a preferred time (in 30-minute intervals), while **hourly backups** always run on the hour. + - For Premium instances, **daily backups** can be configured to start at a preferred time (in 30-minute intervals), while **hourly backups** always run on the hour. ### Configure the backup settings -To configure backups for a Premium instance, follow these steps: +To configure backups for a {{{ .premium }}} instance, perform the following steps: 1. Navigate to the [**Backup**](#view-the-backup-page) page of your TiDB instance. 2. Click **Backup Setting**. This will open the **Backup Setting** window, where you can configure automatic backup options. -3. In **Backup Cycle**, choose between the **Hourly Backup** and **Daily Backup** tabs: - - **Hourly Backup** (default): - - Runs **on the hour**. - - You can configure **Backup Retention** (1–33 days). - - **Daily Backup**: - - Runs at a configurable time in **30-minute intervals**. - - You can configure both **Backup Retention** (1–33 days) and **Backup Time**. +3. In **Backup Cycle**, choose between the **Hourly Backup** and **Daily Backup** tabs: + + - **Hourly Backup** (default): + - Runs **on the hour**. + - You can configure **Backup Retention** (1–33 days). + - **Daily Backup**: + - Runs at a configurable time in **30-minute intervals**. + - You can configure both **Backup Retention** (1–33 days) and **Backup Time**. 4. Click **Save** to save your settings. ### Delete backup files -To delete an existing backup file for your TiDB Cloud Premium , perform the following steps: +To delete an existing backup file for your {{{ .premium }}} instance, perform the following steps: 1. Navigate to the [**Backup**](#view-the-backup-page) page of your instance. @@ -97,7 +95,7 @@ TiDB Cloud supports snapshot restore and point-in-time restore for your instance - **Point-in-Time Restore**: restores your instance to a specific point in time. - - **Premium instances**: can be restored to any time within the past 33 days, but not before the instance creation time or later than one minute before the current time. + - Premium instances: can be restored to any time within the last 33 days, but not earlier than the instance creation time or later than one minute before the current time. ### Restore destination @@ -115,7 +113,7 @@ To restore your data to a new instance, take the following steps: 2. Click **Restore**. -3. On the **Select a Backup** page, choose the **Restore Mode** you want to use. You can restore from a specific backup snapshot or restore to a specific point in time. +3. On the **Select Backup** page, choose the **Restore Mode** you want to use. You can restore from a specific backup snapshot or restore to a specific point in time.
@@ -136,40 +134,31 @@ To restore your data to a new instance, take the following steps:
+4. Click **Next** to proceed to the **Restore to a New Instance** page. -4. Click **Next** to proceed to the **Restore to a New TiDB** page. - -5. Configure your new TiDB instance for restoration. The steps are the same as [creating a new TiDB instance](/tidb-cloud/create-tidb-cluster-premium.md) +5. Configure your new TiDB instance for restoration. The steps are the same as [creating a new TiDB instance](/tidb-cloud/create-tidb-cluster-premium.md). - > **Note:** The cloud provider and region for the new instance will match those of the backup. + > **Note:** + > + > The new instance uses the same cloud provider and region as the backup by default. 6. Click **Restore** to start the restore process. - Once the restore process begins, the instance status changes to **Restoring**. The instance will remain unavailable until the restore is complete and the status changes to **Available**. - - ### Restore from Recycle Bin To restore a deleted instance from the Recycle Bin, take the following steps: -1. Log in to the [TiDB Cloud console](https://tidbcloud.com), and then navigate to the [TiDB instance](https://staging.tidbcloud.com/tidbs?orgId=1369847559692509630&uiMode=new-offerings-preview) page. In the top-right corner, click **Recycle Bin**. +1. Log in to the [TiDB Cloud console](https://tidbcloud.com), and then navigate to the [**TiDB Instances**](https://staging.tidbcloud.com/tidbs?orgId=1369847559692509630&uiMode=new-offerings-preview) page. In the top-right corner, click **Recycle Bin**. 2. On the **Recycle Bin** page, locate the TiDB instance you want to restore: - - - Click the **>** button to expand instance details. - - Find the desired backup, click **…** in the **Action** column, and then select **Restore**. + - Click the **>** button to expand instance details. + - Find the desired backup, click **...** in the **Action** column, and then select **Restore**. 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. - - - - ## Limitations - Manual backups are not supported for Premium instances. - - diff --git a/tidb-cloud/backup-and-restore-serverless.md b/tidb-cloud/backup-and-restore-serverless.md index 482bda352a637..8485dcac4657b 100644 --- a/tidb-cloud/backup-and-restore-serverless.md +++ b/tidb-cloud/backup-and-restore-serverless.md @@ -1,10 +1,10 @@ --- -title: Back Up and Restore Data on {{{ .starter }}} or Essential +title: Back Up and Restore {{{ .starter }}} or Essential Data summary: Learn how to back up and restore your {{{ .starter }}} or {{{ .essential }}} clusters. aliases: ['/tidbcloud/restore-deleted-tidb-cluster'] --- -# Back Up and Restore Data on {{{ .starter }}} or Essential +# Back Up and Restore {{{ .starter }}} or Essential Data This document describes how to back up and restore your data on {{{ .starter }}} or {{{ .essential }}} clusters. @@ -70,7 +70,7 @@ TiDB Cloud supports snapshot restore and point-in-time restore for your cluster. - **Point-in-Time Restore (beta)**: restores your cluster to a specific time. - {{{ .starter }}} clusters: not supported. - - {{{ .essential }}} clusters: restores to any time within the last 30 days, but not before the cluster creation time or after the current time minus one minute. + - {{{ .essential }}} clusters: can be restored to any time within the last 30 days, but not earlier than the cluster creation time or later than one minute before the current time. ### Restore destination From 951903540d614870a264622da7a98fe292dfa505 Mon Sep 17 00:00:00 2001 From: lilin90 Date: Mon, 27 Oct 2025 17:38:05 +0800 Subject: [PATCH 15/21] Move backup and restore doc to premium folder Renamed 'backup-and-restore-premium.md' to 'premium/backup-and-restore-premium.md' and updated the TOC to reflect the new path for better organization of premium features documentation. --- TOC-tidb-cloud-premium.md | 2 +- tidb-cloud/{ => premium}/backup-and-restore-premium.md | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tidb-cloud/{ => premium}/backup-and-restore-premium.md (100%) diff --git a/TOC-tidb-cloud-premium.md b/TOC-tidb-cloud-premium.md index f9e764ffac384..925915159aaae 100644 --- a/TOC-tidb-cloud-premium.md +++ b/TOC-tidb-cloud-premium.md @@ -136,7 +136,7 @@ - [Connection Overview](/tidb-cloud/connect-to-tidb-cluster-serverless.md) - [Connect via Public Endpoint](/tidb-cloud/connect-via-standard-connection-serverless.md) - [Connect via Private Endpoint with Alibaba Cloud](/tidb-cloud/set-up-private-endpoint-connections-on-alibaba-cloud.md) - - [Back Up and Restore TiDB Cloud Data](/tidb-cloud/backup-and-restore-premium.md) + - [Back Up and Restore TiDB Cloud Data](/tidb-cloud/premium/backup-and-restore-premium.md) - Use an HTAP Cluster with TiFlash - [TiFlash Overview](/tiflash/tiflash-overview.md) - [Create TiFlash Replicas](/tiflash/create-tiflash-replicas.md) diff --git a/tidb-cloud/backup-and-restore-premium.md b/tidb-cloud/premium/backup-and-restore-premium.md similarity index 100% rename from tidb-cloud/backup-and-restore-premium.md rename to tidb-cloud/premium/backup-and-restore-premium.md From d5809fc058aa90b97d6a2620e985ac69081ed602 Mon Sep 17 00:00:00 2001 From: Cheng Weiwei <65707268+wildpcww@users.noreply.github.com> Date: Tue, 28 Oct 2025 10:33:58 +0800 Subject: [PATCH 16/21] Update backup-and-restore-premium.md --- tidb-cloud/premium/backup-and-restore-premium.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tidb-cloud/premium/backup-and-restore-premium.md b/tidb-cloud/premium/backup-and-restore-premium.md index a9f729a4b4f72..23fc0dff9e3b4 100644 --- a/tidb-cloud/premium/backup-and-restore-premium.md +++ b/tidb-cloud/premium/backup-and-restore-premium.md @@ -11,8 +11,7 @@ This document describes how to back up and restore your data on {{{ .premium }}} Backup files can originate from the following sources: - Active {{{ .premium }}} instances -- {{{ .dedicated }}} clusters -- The Recycle Bin for backups from deleted {{{ .dedicated }}} clusters or Premium instances +- The Recycle Bin for backups from deleted Premium instances > **Tip:** > @@ -103,10 +102,6 @@ TiDB Cloud supports restoring data to a new instance. ### Restore to a new instance -> **Note:** -> -> User credentials and permissions from the source instance will **not** be restored to the new instance. You must recreate any users and permissions manually in the new instance. - To restore your data to a new instance, take the following steps: 1. Navigate to the [**Backup**](#view-the-backup-page) page of your instance. @@ -144,7 +139,7 @@ To restore your data to a new instance, take the following steps: 6. Click **Restore** to start the restore process. -Once the restore process begins, the instance status changes to **Restoring**. The instance will remain unavailable until the restore is complete and the status changes to **Available**. +Once the restore process begins, the instance status will first change to **Creating**. After the creation is complete, it will transition to **Restoring**. The instance remains unavailable until the restore finishes and the status becomes **Available**. ### Restore from Recycle Bin From 10d5515b5b933b045f9d5d1bd3a60f1ae00786ac Mon Sep 17 00:00:00 2001 From: Lilian Lee Date: Tue, 28 Oct 2025 14:50:59 +0800 Subject: [PATCH 17/21] Update link for consistency --- tidb-cloud/premium/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/premium/backup-and-restore-premium.md b/tidb-cloud/premium/backup-and-restore-premium.md index 23fc0dff9e3b4..f97205a2d9acb 100644 --- a/tidb-cloud/premium/backup-and-restore-premium.md +++ b/tidb-cloud/premium/backup-and-restore-premium.md @@ -20,7 +20,7 @@ Backup files can originate from the following sources: ## View the Backup page -1. On the [**TiDB Instances**](https://tidbcloud.com/project/clusters) page, click the name of your target instance to go to its overview page. +1. On the [**TiDB Instances**](https://tidbcloud.com/tidbs?orgId=1372813089208281461&uiMode=new-offerings-preview) page, click the name of your target instance to go to its overview page. > **Tip:** > From 24d4035ba2d5aab5d8608db0ef2a12cf4a7c18a2 Mon Sep 17 00:00:00 2001 From: Lilian Lee Date: Tue, 28 Oct 2025 14:57:46 +0800 Subject: [PATCH 18/21] Apply suggestions from code review --- tidb-cloud/premium/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/premium/backup-and-restore-premium.md b/tidb-cloud/premium/backup-and-restore-premium.md index f97205a2d9acb..2da92ab949938 100644 --- a/tidb-cloud/premium/backup-and-restore-premium.md +++ b/tidb-cloud/premium/backup-and-restore-premium.md @@ -20,7 +20,7 @@ Backup files can originate from the following sources: ## View the Backup page -1. On the [**TiDB Instances**](https://tidbcloud.com/tidbs?orgId=1372813089208281461&uiMode=new-offerings-preview) page, click the name of your target instance to go to its overview page. +1. On the [**TiDB Instances**](https://tidbcloud.com/tidbs) page, click the name of your target instance to go to its overview page. > **Tip:** > From dae64d6aaaf4be1161645b3fa8c97a16f2e5ebed Mon Sep 17 00:00:00 2001 From: Lilian Lee Date: Wed, 29 Oct 2025 14:28:49 +0800 Subject: [PATCH 19/21] Update a link --- tidb-cloud/premium/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/premium/backup-and-restore-premium.md b/tidb-cloud/premium/backup-and-restore-premium.md index 2da92ab949938..b4f758b59ed22 100644 --- a/tidb-cloud/premium/backup-and-restore-premium.md +++ b/tidb-cloud/premium/backup-and-restore-premium.md @@ -131,7 +131,7 @@ To restore your data to a new instance, take the following steps: 4. Click **Next** to proceed to the **Restore to a New Instance** page. -5. Configure your new TiDB instance for restoration. The steps are the same as [creating a new TiDB instance](/tidb-cloud/create-tidb-cluster-premium.md). +5. Configure your new TiDB instance for restoration. The steps are the same as [creating a new TiDB instance](tidb-cloud/premium/create-tidb-instance-premium.md). > **Note:** > From c012871bda88962596c58a2c94b5ab29caddc848 Mon Sep 17 00:00:00 2001 From: Lilian Lee Date: Wed, 29 Oct 2025 14:33:59 +0800 Subject: [PATCH 20/21] Update wording --- tidb-cloud/premium/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/premium/backup-and-restore-premium.md b/tidb-cloud/premium/backup-and-restore-premium.md index b4f758b59ed22..846e44a86e860 100644 --- a/tidb-cloud/premium/backup-and-restore-premium.md +++ b/tidb-cloud/premium/backup-and-restore-premium.md @@ -139,7 +139,7 @@ To restore your data to a new instance, take the following steps: 6. Click **Restore** to start the restore process. -Once the restore process begins, the instance status will first change to **Creating**. After the creation is complete, it will transition to **Restoring**. The instance remains unavailable until the restore finishes and the status becomes **Available**. + When the restore process starts, the instance status first changes to **Creating**. After the creation is complete, it changes to **Restoring**. The instance remains unavailable until the restore finishes and the status changes to **Available**. ### Restore from Recycle Bin From 3d1b9fbb55bd1ecbf9c035bd397a4cfede037ade Mon Sep 17 00:00:00 2001 From: Lilian Lee Date: Wed, 29 Oct 2025 14:35:01 +0800 Subject: [PATCH 21/21] Update format --- tidb-cloud/premium/backup-and-restore-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/premium/backup-and-restore-premium.md b/tidb-cloud/premium/backup-and-restore-premium.md index 846e44a86e860..41bfc27de1b81 100644 --- a/tidb-cloud/premium/backup-and-restore-premium.md +++ b/tidb-cloud/premium/backup-and-restore-premium.md @@ -156,4 +156,4 @@ To restore a deleted instance from the Recycle Bin, take the following steps: ## Limitations -- Manual backups are not supported for Premium instances. +Manual backups are not supported for Premium instances.