-
Notifications
You must be signed in to change notification settings - Fork 706
tidbcloud: add backup& restore #21934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
cb03ddb
781cbc8
c461320
7e29b47
1500897
494f2df
f830337
a22073a
acf0ed6
b7984b4
c616e5c
7e45a3a
791404f
ae4a7e0
49e9932
9519035
d5809fc
10d5515
24d4035
ed7e37e
dae64d6
c012871
3d1b9fb
9e18004
70d207a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -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**. | ||||||
|
|
||||||
lilin90 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| - **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 | ||||||
wildpcww marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| 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). | ||||||
|
Check failure on line 73 in tidb-cloud/backup-and-restore-premium.md
|
||||||
| - **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 76 in tidb-cloud/backup-and-restore-premium.md
|
||||||
|
|
||||||
| 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 TiDB Cloud Premium , perform the following steps: | |
| To delete an existing backup file for your TiDB Cloud Premium instance, perform the following steps: |
wildpcww marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
lilin90 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
wildpcww marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
wildpcww marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
wildpcww marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
lilin90 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
wildpcww marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
wildpcww marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Check failure on line 158 in tidb-cloud/backup-and-restore-premium.md
GitHub Actions / vale
[vale] reported by reviewdog 🐶
[PingCAP.Spacing] 'e, a' should have one space.
Raw Output:
{"message": "[PingCAP.Spacing] 'e, a' should have one space.", "location": {"path": "tidb-cloud/backup-and-restore-premium.md", "range": {"start": {"line": 158, "column": 1}}}, "severity": "ERROR"}
lilin90 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Check failure on line 160 in tidb-cloud/backup-and-restore-premium.md
GitHub Actions / vale
[vale] reported by reviewdog 🐶
[PingCAP.ZhPunctuation] Don't use Chinese punctuation (:) in English text.
Raw Output:
{"message": "[PingCAP.ZhPunctuation] Don't use Chinese punctuation (:) in English text.", "location": {"path": "tidb-cloud/backup-and-restore-premium.md", "range": {"start": {"line": 160, "column": 77}}}, "severity": "ERROR"}
Uh oh!
There was an error while loading. Please reload this page.