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
3 changes: 2 additions & 1 deletion TOC-tidb-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
- 数据库访问控制
- [配置集群密码设置](/tidb-cloud/configure-security-settings.md)
- 审计管理
- [数据库审计日志](/tidb-cloud/tidb-cloud-auditing.md)
- [数据库审计日志](/tidb-cloud/tidb-cloud-auditing.md) ![PREVIEW](/media/tidb-cloud/blank_transparent_placeholder.png)
- [控制台审计日志](/tidb-cloud/tidb-cloud-console-auditing.md)
- 账单
- [发票](/tidb-cloud/tidb-cloud-billing.md#invoices)
Expand Down Expand Up @@ -641,3 +641,4 @@
## _BUILD_ALLOWLIST

- [Manage Database Users and Roles](/tidb-cloud/configure-sql-users.md)
- [数据库审计日志(旧版)](/tidb-cloud/tidb-cloud-auditing-legacy.md)
2 changes: 1 addition & 1 deletion latest_translation_commit.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"target": "release-8.5",
"sha": "b6f7f75a70c32ead3841d9636a62c0749c211fc4"
"sha": "566e693344cffc6f3f1e7186b2bc2bf22074434f"
}
8 changes: 8 additions & 0 deletions tidb-cloud/architecture-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ TiDB Cloud Dedicated 专为关键业务设计,提供跨多个可用区的高

![TiDB Cloud Dedicated 架构](/media/tidb-cloud/tidb-cloud-dedicated-architecture.png)

## {{{ .lake }}} {#lake}

TiDB Cloud Lake 是一项面向分析工作负载的云原生数据仓库服务。它将计算与存储分离,使你能够独立配置 warehouse,随工作负载变化进行扩展,并以经济高效的方式将数据存储在对象存储中。

TiDB Cloud Lake 在一个平台中支持 ANSI SQL、半结构化数据处理、向量搜索和面向 AI 的工作流。它专为希望获得托管式分析体验而无需自行运维底层基础设施的团队而设计。

更多详情,请参见 [TiDB Cloud Lake Overview](https://docs.pingcap.com/tidbcloudlake/lake-overview/)。

## TiDB Cloud 控制台

[TiDB Cloud 控制台](https://tidbcloud.com/) 是 TiDB Cloud 资源的基于 Web 的管理界面。你可以通过该平台管理 TiDB Cloud 资源、导入或迁移数据、监控性能指标、配置备份、设置安全控制,并与其他云服务集成,所有操作均可在一个用户友好的平台上完成。
Expand Down
101 changes: 83 additions & 18 deletions tidb-cloud/premium/backup-and-restore-premium.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,22 @@ aliases: ['/zh/tidbcloud/restore-deleted-tidb-cluster']

# 备份和恢复 {{{ .premium }}} 数据

<CustomContent plan="premium">

本文档介绍如何在 {{{ .premium }}} 实例上备份和恢复数据。{{{ .premium }}} 同时支持自动备份和手动备份,并允许你根据需要将备份数据恢复到新的实例。

</CustomContent>

<CustomContent plan="byoc">

本文档也适用于 {{{ .byoc }}}。{{{ .byoc }}} 的备份和恢复功能目前与 {{{ .premium }}} 保持一致
本文档介绍如何在 {{{ .premium }}} 或 {{{ .byoc }}} 实例上备份和恢复数据。{{{ .premium }}} {{{ .byoc }}} 同时支持自动备份和手动备份,并允许你根据需要将备份数据恢复到新的实例

</CustomContent>

备份文件可以来自以下来源:

- 活跃的 {{{ .premium }}} 实例
- 回收站中已删除 {{{ .premium }}} 实例的备份
- 活跃的 {{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例
- 回收站中已删除 {{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例的备份

> **Tip:**
>
Expand All @@ -26,7 +30,7 @@ aliases: ['/zh/tidbcloud/restore-deleted-tidb-cluster']

## 查看 Backup 页面 {#view-the-backup-page}

1. 在 [**My TiDB**](https://tidbcloud.com/tidbs) 页面上,点击目标 {{{ .premium }}} 实例的名称,进入其实例概览页面。
1. 在 [**My TiDB**](https://tidbcloud.com/tidbs) 页面上,点击目标 {{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例的名称,进入其实例概览页面。

> **Tip:**
>
Expand All @@ -36,11 +40,21 @@ aliases: ['/zh/tidbcloud/restore-deleted-tidb-cluster']

## 自动备份 {#automatic-backups}

<CustomContent plan="premium">

{{{ .premium }}} 为生产环境提供增强的自动备份能力。它结合高频快照和日志备份,以确保数据可靠性。

</CustomContent>

<CustomContent plan="byoc">

{{{ .premium }}} 和 {{{ .byoc }}} 为生产环境提供增强的自动备份能力。它们结合高频快照和日志备份,以确保数据可靠性。

</CustomContent>

### 自动备份策略 {#automatic-backup-policies}

{{{ .premium }}} 实例采用多层备份架构来保护你的数据,如下表所示:
{{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例采用多层备份架构来保护你的数据,如下表所示:

| Backup type | Retention period | Restore granularity |
| --- | --- | --- |
Expand All @@ -50,7 +64,7 @@ aliases: ['/zh/tidbcloud/restore-deleted-tidb-cluster']

### 备份执行规则 {#backup-execution-rules}

- **备份周期**:{{{ .premium }}} 实例会同时执行每小时和每日自动备份。
- **备份周期**:{{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例会同时执行每小时和每日自动备份。

- **备份调度**:

Expand All @@ -67,16 +81,26 @@ aliases: ['/zh/tidbcloud/restore-deleted-tidb-cluster']

### 删除备份文件 {#delete-backup-files}

如需删除 {{{ .premium }}} 实例的现有备份文件,请执行以下步骤:
如需删除 {{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例的现有备份文件,请执行以下步骤:

1. 进入实例的 [**Backup**](#view-the-backup-page) 页面。

2. 找到要删除的对应备份文件,然后在 **Action** 列中点击 **...** > **Delete**。

## 手动备份 {#manual-backups}

<CustomContent plan="premium">

除了自动备份外,{{{ .premium }}} 还支持手动备份。手动备份可提供一个可控且有保障的恢复点。强烈建议你在执行高风险操作之前创建手动备份,例如系统升级、关键数据删除,或不可逆的 schema 或配置变更。

</CustomContent>

<CustomContent plan="byoc">

除了自动备份外,{{{ .premium }}} 和 {{{ .byoc }}} 还支持手动备份。手动备份可提供一个可控且有保障的恢复点。强烈建议你在执行高风险操作之前创建手动备份,例如系统升级、关键数据删除,或不可逆的 schema 或配置变更。

</CustomContent>

### 关键特性 {#key-characteristics}

- **保留和删除**:与自动备份不同,手动备份不会根据保留策略自动删除。它们会一直保留,直到你显式删除它们。如果你删除实例,其手动备份会移动到回收站,并一直保留在那里,直到你手动删除。
Expand Down Expand Up @@ -111,15 +135,15 @@ TiDB Cloud 支持对你的实例进行快照恢复和 point-in-time 恢复。

- **Point-in-Time Restore**:将你的实例恢复到特定时间点。

- Premium 实例:可以恢复到最近 7 天内的任意时间,但不能早于实例创建时间,也不能晚于当前时间前 1 分钟。请注意,手动备份不支持 PITR。
- Premium<CustomContent plan="byoc"> 或 BYOC</CustomContent> 实例:可以恢复到最近 7 天内的任意时间,但不能早于实例创建时间,也不能晚于当前时间前 1 分钟。请注意,手动备份不支持 PITR。

### 恢复目标 {#restore-destination}

TiDB Cloud 支持将数据恢复到新实例。

### 恢复到新的 {{{ .premium }}} 实例 {#restore-to-a-new-instance}

如需将数据恢复到新的 {{{ .premium }}} 实例,请执行以下步骤:
如需将数据恢复到新的 {{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例,请执行以下步骤:

1. 进入实例的 [**Backup**](#view-the-backup-page) 页面。

Expand All @@ -138,7 +162,7 @@ TiDB Cloud 支持将数据恢复到新实例。
</div>
<div label="Point-in-Time Restore">

如需将 Premium 实例恢复到特定时间点,请执行以下步骤:
如需将 Premium<CustomContent plan="byoc"> 或 BYOC</CustomContent> 实例恢复到特定时间点,请执行以下步骤:

1. 点击 **Point-in-Time Restore**。
2. 选择你要恢复到的日期和时间。
Expand All @@ -148,7 +172,7 @@ TiDB Cloud 支持将数据恢复到新实例。

4. 点击 **Next** 进入 **Restore to a New Instance** 页面。

5. 为恢复配置新的 {{{ .premium }}} 实例。步骤与[创建 {{{ .premium }}} 实例](/tidb-cloud/premium/create-tidb-instance-premium.md)相同。
5. 为恢复配置新的 {{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例。步骤与[创建 {{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例](/tidb-cloud/premium/create-tidb-instance-premium.md)相同。

> **Note:**
>
Expand All @@ -160,7 +184,7 @@ TiDB Cloud 支持将数据恢复到新实例。

### 从回收站恢复 {#restore-from-recycle-bin}

如需从回收站恢复已删除的 {{{ .premium }}} 实例,请执行以下步骤:
如需从回收站恢复已删除的 {{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例,请执行以下步骤:

1. 在 [TiDB Cloud console](https://tidbcloud.com) 中,进入你所在组织的 [**My TiDB**](https://tidbcloud.com/tidbs) 页面,点击右上角的 **...**,然后点击 **Recycle Bin**。

Expand Down Expand Up @@ -199,14 +223,38 @@ TiDB Cloud 支持将数据恢复到新实例。

### 从云存储恢复备份 {#restore-backups-from-cloud-storage}

<CustomContent plan="premium">{{{ .premium }}}</CustomContent><CustomContent plan="byoc">{{{ .byoc }}}</CustomContent> 支持将云存储(例如 Amazon S3 和 Alibaba Cloud Object Storage Service (OSS))中的备份恢复到新实例。此功能兼容从 {{{ .dedicated }}} 集群或 TiDB Self-Managed 集群生成的备份。
<CustomContent plan="premium">

{{{ .premium }}} 支持将云存储(例如 Amazon S3 和 Alibaba Cloud Object Storage Service (OSS))中的备份恢复到新实例。此功能兼容从 {{{ .dedicated }}} 集群或 TiDB Self-Managed 集群生成的备份。

</CustomContent>

<CustomContent plan="byoc">

{{{ .premium }}} 和 {{{ .byoc }}} 支持将云存储(例如 Amazon S3)中的备份恢复到新实例。此功能兼容从 {{{ .dedicated }}} 集群或 TiDB Self-Managed 集群生成的备份。

</CustomContent>

<CustomContent plan="premium">

>**Note:**
>
> - 当前仅支持恢复位于 **Amazon S3** 和 **Alibaba Cloud OSS** 中的备份。
> - 你只能将备份恢复到由与你的存储 bucket 相同云服务提供商托管的新实例。
> - 如果实例和存储 bucket 位于不同 region,可能会产生额外的跨 region 数据传输费用。

</CustomContent>

<CustomContent plan="byoc">

>**Note:**
>
> - 当前仅支持恢复位于 **Amazon S3** 中的备份。
> - 你只能将备份恢复到由与你的存储 bucket 相同云服务提供商托管的新实例。
> - 如果实例和存储 bucket 位于不同 region,可能会产生额外的跨 region 数据传输费用。

</CustomContent>

#### 步骤 {#steps}

开始之前,请确保你拥有具有足够权限以访问备份文件的 access key 和 secret key。
Expand All @@ -217,27 +265,40 @@ TiDB Cloud 支持将数据恢复到新实例。

2. 在 **Select Backup Storage Location** 页面,提供以下信息:

<CustomContent plan="premium">

- **Cloud Provider**:选择存储备份文件的云服务提供商。
- **Region**:如果你的云服务提供商是 Alibaba Cloud OSS,请选择一个 region。
- **Backup Files URI**:输入包含备份文件的顶层文件夹的 URI。
- **Access Key ID**:输入你的 access key ID。
- **Access Key Secret**:输入你的 access key secret。

</CustomContent>

<CustomContent plan="byoc">

- **Cloud Provider**:选择存储备份文件的云服务提供商。
- **Backup Files URI**:输入包含备份文件的顶层文件夹的 URI。
- **Access Key ID**:输入你的 access key ID。
- **Access Key Secret**:输入你的 access key secret。

</CustomContent>

> **Tip:**
>
> 要为你的存储 bucket 创建 access key,请参见 [Configure Amazon S3 access using an AWS access key](#configure-amazon-s3-access-using-an-aws-access-key) 和 [Configure Alibaba Cloud OSS access](#configure-alibaba-cloud-oss-access)。
> 要为你的存储 bucket 创建 access key,请参见 [Configure Amazon S3 access using an AWS access key](#configure-amazon-s3-access-using-an-aws-access-key)<CustomContent plan="premium"> 和 [Configure Alibaba Cloud OSS access](#configure-alibaba-cloud-oss-access)</CustomContent>

3. 点击 **Verify Backup and Next**。

4. 如果验证成功,将显示 **Restore to a New Instance** 页面。查看页面顶部显示的备份信息,然后按照 [Create a {{{ .premium }}} Instance](/tidb-cloud/premium/create-tidb-instance-premium.md) 中的步骤将备份恢复到一个新的实例。
4. 如果验证成功,将显示 **Restore to a New Instance** 页面。查看页面顶部显示的备份信息,然后按照 [Create a {{{ .premium }}}<CustomContent plan="byoc"> or {{{ .byoc }}}</CustomContent> Instance](/tidb-cloud/premium/create-tidb-instance-premium.md) 中的步骤将备份恢复到一个新的实例。

如果备份信息不正确,点击 **Previous** 返回上一页,然后输入正确的信息。

5. 点击 **Restore** 以恢复备份。

## 参考 {#references}

本节介绍如何为 Amazon S3 和 Alibaba Cloud OSS 配置访问。
本节介绍如何为 Amazon S3<CustomContent plan="premium"> 和 Alibaba Cloud OSS</CustomContent> 配置访问。

### 使用 AWS access key 配置 Amazon S3 访问 {#configure-amazon-s3-access-using-an-aws-access-key}

Expand All @@ -253,7 +314,7 @@ TiDB Cloud 支持将数据恢复到新实例。

2. 向 IAM user 授予权限。

创建一个仅包含你的任务所需权限的 policy,并将其附加到 IAM user。要将数据恢复到 {{{ .premium }}} 实例,请授予 `s3:GetObject`、`s3:GetBucketLocation` 和 `s3:ListBucket` 权限。
创建一个仅包含你的任务所需权限的 policy,并将其附加到 IAM user。要将数据恢复到 {{{ .premium }}}<CustomContent plan="byoc"> 或 {{{ .byoc }}}</CustomContent> 实例,请授予 `s3:GetObject`、`s3:GetBucketLocation` 和 `s3:ListBucket` 权限。

以下是一个示例 policy,允许 TiDB Cloud 从你的 Amazon S3 bucket 中的特定文件夹恢复数据。

Expand Down Expand Up @@ -294,6 +355,8 @@ TiDB Cloud 支持将数据恢复到新实例。
>
> TiDB Cloud 不会存储你的 access keys。为保持安全,请在导入或导出任务完成后[删除 access key](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey)。

<CustomContent plan="premium">

### 配置 Alibaba Cloud OSS 访问 {#configure-alibaba-cloud-oss-access}

要授予 TiDB Cloud 对你的 Alibaba Cloud OSS bucket 的访问权限,你需要为该 bucket 创建一个 AccessKey 对。
Expand Down Expand Up @@ -343,4 +406,6 @@ TiDB Cloud 支持将数据恢复到新实例。

3. 将自定义 policy 附加到 RAM user。

更多信息,请参见 [Grant permissions to a RAM user](https://www.alibabacloud.com/help/en/ram/user-guide/grant-permissions-to-the-ram-user)。
更多信息,请参见 [Grant permissions to a RAM user](https://www.alibabacloud.com/help/en/ram/user-guide/grant-permissions-to-the-ram-user)。

</CustomContent>
Loading
Loading