-
Notifications
You must be signed in to change notification settings - Fork 687
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
serverless BR #19679
base: release-8.1
Are you sure you want to change the base?
serverless BR #19679
Conversation
a7af08f
to
cfea813
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@zhangyangyu: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@sunxiaoguang: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@@ -26,7 +26,7 @@ You can delete a cluster at any time by performing the following steps: | |||
|
|||
> **Note:** | |||
> | |||
> [TiDB Cloud Serverless clusters](/tidb-cloud/select-cluster-tier.md#tidb-cloud-serverless) only support [in-place restoring from backups](/tidb-cloud/backup-and-restore-serverless.md#restore) and do not support restoring data after the deletion. If you want to delete a TiDB Cloud Serverless cluster and restore its data in the future, you can use [Dumpling](https://docs.pingcap.com/tidb/stable/dumpling-overview) to export your data as a backup. | |||
> [TiDB Cloud Serverless clusters](/tidb-cloud/select-cluster-tier.md#tidb-cloud-serverless) do not support restoring data after the deletion. If you want to delete a TiDB Cloud Serverless cluster and restore its data in the future, you can refer [Export Data from TiDB Cloud Serverless](/tidb-cloud/serverless-export.md) to export your data as a backup. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
> [TiDB Cloud Serverless clusters](/tidb-cloud/select-cluster-tier.md#tidb-cloud-serverless) do not support restoring data after the deletion. If you want to delete a TiDB Cloud Serverless cluster and restore its data in the future, you can refer [Export Data from TiDB Cloud Serverless](/tidb-cloud/serverless-export.md) to export your data as a backup. | |
> [TiDB Cloud Serverless clusters](/tidb-cloud/select-cluster-tier.md#tidb-cloud-serverless) do not support restoring data after the deletion. If you want to delete a TiDB Cloud Serverless cluster and restore its data in the future, refer to [Export Data from TiDB Cloud Serverless](/tidb-cloud/serverless-export.md) to export your data as a backup. |
|
||
### Learn about the backup setting | ||
|
||
Automatic backups is controlled by the backup setting, which is different for free clusters and scalable clusters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatic backups is controlled by the backup setting, which is different for free clusters and scalable clusters: | |
Automatic backups is controlled by the backup setting, which is different for free clusters and scalable clusters, as shown in the following table: |
|
||
## Backup | ||
| backup setting | free cluster | scalable cluster | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| backup setting | free cluster | scalable cluster | | |
| Backup setting | Free clusters | Scalable clusters | |
- Free clusters: the backup retention is 1 day. | ||
- Scalable clusters: the backup retention is 14 days. | ||
|
||
- **Backup Time** is the time when the backup start to be scheduled. Note that the final backup time may fall behind the configured backup time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **Backup Time** is the time when the backup start to be scheduled. Note that the final backup time may fall behind the configured backup time. | |
- **Backup Time** is the time when the backup starts to be scheduled. Note that the final backup time might fall behind the configured backup time. |
- **Backup Time** is the time when the backup start to be scheduled. Note that the final backup time may fall behind the configured backup time. | ||
|
||
- Free clusters: the backup time is a randomly fixed time. | ||
- Scalable clusters: the backup time can be configured to every half an hour. Default to a randomly fixed time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Scalable clusters: the backup time can be configured to every half an hour. Default to a randomly fixed time. | |
- Scalable clusters: you can configure the backup time to every half an hour. The default value is a randomly fixed time. |
4. In **Destination**, you can choose to restore in-place or restore to a new cluster. | ||
|
||
<SimpleTab> | ||
<div label="Restore to a New Cluster"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<div label="Restore to a New Cluster"> | |
<div label="Restore to a new cluster"> |
|
||
## Limitations | ||
|
||
- If any TiFlash replica is enabled, the replica will be unavailable for a while after the restore because data needs to be rebuilt in TiFlash. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- If any TiFlash replica is enabled, the replica will be unavailable for a while after the restore because data needs to be rebuilt in TiFlash. | |
- If a TiFlash replica is enabled, it will be unavailable for a period after the restore, because data needs to be rebuilt in TiFlash. |
</div> | ||
<div label="Restore to a New Cluster"> | ||
|
||
To restore in-place, just click **In-place Restore**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To restore in-place, just click **In-place Restore**. | |
To restore in-place, click **In-place Restore**. |
4. Set spending limits when your choice is a scalable cluster. | ||
5. Set the advanced settings as you need when your choice is a scalable cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4. Set spending limits when your choice is a scalable cluster. | |
5. Set the advanced settings as you need when your choice is a scalable cluster. | |
4. Set spending limits when you choose a scalable cluster. | |
5. Set the advanced settings as needed when you choose a scalable cluster. |
|
||
- In **Backup Retention**, configure the minimum backup data retention period. | ||
TiDB Cloud Serverless cluster provides restore functionality to help you recover your data in case of accidental data loss or corruption. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TiDB Cloud Serverless cluster provides restore functionality to help you recover your data in case of accidental data loss or corruption. | |
TiDB Cloud Serverless clusters offer restore functionality to help recover data in case of accidental loss or corruption. |
- Manual backup is not yet supported. | ||
- The cluster will be unavailable during the restore process, and existing connections will be terminated. You can establish new connections once the restore is complete. | ||
- If any TiFlash replica is enabled, the replica will be unavailable for a while after the restore because data needs to be rebuilt in TiFlash. | ||
Automatic backups will back up your cluster data automatically, and you can restore your data from the backup snapshot to reduce your loss in extreme disaster situations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatic backups will back up your cluster data automatically, and you can restore your data from the backup snapshot to reduce your loss in extreme disaster situations. | |
Automatic backups will back up your cluster data regularly, allowing you to restore data from a backup snapshot to minimize data loss in the event of a disaster. |
@@ -12,46 +12,83 @@ This document describes how to back up and restore your TiDB Cloud Serverless cl | |||
> | |||
> To learn how to back up and restore TiDB Cloud Dedicated cluster data, see [Back Up and Restore TiDB Cloud Dedicated Data](/tidb-cloud/backup-and-restore.md). | |||
|
|||
## Limitations | |||
## Automatic Backups |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Automatic Backups | |
## Automatic backups |
First-time contributors' checklist
What is changed, added or deleted? (Required)
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.
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?