Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
cb03ddb
tidbcloud: add backup& restore
wildpcww Oct 20, 2025
781cbc8
Update tidb-cloud/backup-and-restore-premium.md
wildpcww Oct 20, 2025
c461320
Update tidb-cloud/backup-and-restore-premium.md
wildpcww Oct 20, 2025
7e29b47
Update tidb-cloud/backup-and-restore-premium.md
wildpcww Oct 20, 2025
1500897
Update tidb-cloud/backup-and-restore-premium.md
wildpcww Oct 20, 2025
494f2df
Update tidb-cloud/backup-and-restore-premium.md
wildpcww Oct 20, 2025
f830337
Update tidb-cloud/backup-and-restore-premium.md
wildpcww Oct 20, 2025
a22073a
Update tidb-cloud/backup-and-restore-premium.md
wildpcww Oct 20, 2025
acf0ed6
Update tidb-cloud/backup-and-restore-premium.md
wildpcww Oct 20, 2025
b7984b4
Update tidb-cloud/backup-and-restore-premium.md
wildpcww Oct 20, 2025
c616e5c
Update backup-and-restore-premium.md
wildpcww Oct 20, 2025
7e45a3a
Merge branch 'release-8.5' into pr/21934
lilin90 Oct 21, 2025
791404f
Update TOC-tidb-cloud-premium.md
wildpcww Oct 21, 2025
ae4a7e0
Apply suggestions from code review
lilin90 Oct 27, 2025
49e9932
Refine backup and restore docs for Premium
lilin90 Oct 27, 2025
9519035
Move backup and restore doc to premium folder
lilin90 Oct 27, 2025
d5809fc
Update backup-and-restore-premium.md
wildpcww Oct 28, 2025
10d5515
Update link for consistency
lilin90 Oct 28, 2025
24d4035
Apply suggestions from code review
lilin90 Oct 28, 2025
ed7e37e
Merge branch 'release-8.5' into backup-restore
lilin90 Oct 29, 2025
dae64d6
Update a link
lilin90 Oct 29, 2025
c012871
Update wording
lilin90 Oct 29, 2025
3d1b9fb
Update format
lilin90 Oct 29, 2025
9e18004
Merge branch 'release-8.5' into pr/21934
lilin90 Oct 29, 2025
70d207a
Fix relative link in backup and restore guide
lilin90 Oct 29, 2025
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
2 changes: 1 addition & 1 deletion TOC-tidb-cloud-premium.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
- [Connect via Public Endpoint](/tidb-cloud/connect-via-standard-connection-serverless.md)
- [Connect via Private Endpoint with AWS](/tidb-cloud/premium/connect-to-premium-via-aws-private-endpoint.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/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)
Expand Down
6 changes: 3 additions & 3 deletions tidb-cloud/backup-and-restore-serverless.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -73,7 +73,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 backup retention, but not before the cluster creation time or after the current time minus one minute.
- {{{ .essential }}} clusters: restores to any time within the backup retention, but not earlier than the cluster creation time or later than one minute before the current time.

### Restore destination

Expand Down
159 changes: 159 additions & 0 deletions tidb-cloud/premium/backup-and-restore-premium.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
---
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 {{{ .premium }}} Data

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 {{{ .premium }}} instances
- The Recycle Bin for backups from deleted Premium instances

> **Tip:**
>
> - 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 [**TiDB Instances**](https://tidbcloud.com/tidbs) 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, 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, {{{ .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.
- The **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, 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).

Check failure on line 70 in tidb-cloud/premium/backup-and-restore-premium.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [PingCAP.EnDash] Use an em dash ('—') instead of en dash ('–'). Raw Output: {"message": "[PingCAP.EnDash] Use an em dash ('—') instead of en dash ('–').", "location": {"path": "tidb-cloud/premium/backup-and-restore-premium.md", "range": {"start": {"line": 70, "column": 52}}}, "severity": "ERROR"}
- **Daily Backup**:
- Runs at a configurable time in **30-minute intervals**.
- You can configure both **Backup Retention** (1–33 days) and **Backup Time**.

Check failure on line 73 in tidb-cloud/premium/backup-and-restore-premium.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [PingCAP.EnDash] Use an em dash ('—') instead of en dash ('–'). Raw Output: {"message": "[PingCAP.EnDash] Use an em dash ('—') instead of en dash ('–').", "location": {"path": "tidb-cloud/premium/backup-and-restore-premium.md", "range": {"start": {"line": 73, "column": 57}}}, "severity": "ERROR"}

4. Click **Save** to save your settings.

### Delete backup files

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.

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 instances 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 last 33 days, but not earlier than the instance creation time or later than one minute before the current time.

### Restore destination

TiDB Cloud supports restoring data to a new instance.

### Restore to a 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 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.

<SimpleTab>
<div label="Snapshot Restore">

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.

</div>
<div label="Point-in-Time Restore">

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.

</div>
</SimpleTab>

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/premium/create-tidb-instance-premium.md).

> **Note:**
>
> The new instance uses the same cloud provider and region as the backup by default.

6. Click **Restore** to start the restore process.

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

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

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.