From 7d45582cce3d07e8a1784e61aedbdd9b4c7f0173 Mon Sep 17 00:00:00 2001 From: qiancai Date: Mon, 30 Nov 2026 16:38:46 +0800 Subject: [PATCH 1/4] docs: document restoring Essential backups to Premium --- tidb-cloud/backup-and-restore-serverless.md | 9 +++++-- .../premium/backup-and-restore-premium.md | 25 +++++++++++++------ 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/tidb-cloud/backup-and-restore-serverless.md b/tidb-cloud/backup-and-restore-serverless.md index 41cca92c12d90..db6eac6943a4c 100644 --- a/tidb-cloud/backup-and-restore-serverless.md +++ b/tidb-cloud/backup-and-restore-serverless.md @@ -201,14 +201,15 @@ To restore a deleted {{{ .essential }}} instance from the Recycle Bin, take the ### Restore backups from a different plan type -You can use **Cross Plan Restore** to restore a backup snapshot from an active or deleted {{{ .dedicated }}} cluster hosted on AWS to a new {{{ .essential }}} instance. The new instance must use the same cloud provider and region as the backup. Currently, only backups for {{{ .dedicated }}} clusters are supported as the source. +You can use **Cross Plan Restore** to restore a backup snapshot from an active or deleted {{{ .dedicated }}} cluster hosted on AWS to a new {{{ .essential }}} instance. The new instance must use the same cloud provider and region as the backup. 1. On the [**My TiDB**](https://tidbcloud.com/tidbs) page, click **...** in the upper-right corner, and then click **Cross Plan Restore**. 2. In the **Select Backup** step, configure the following fields, and then click **Next**: - **From**: select **Active** for an existing cluster or **Recycle Bin (Deleted)** for a deleted cluster. - - **Plan** and **Cloud Provider**: these fields are fixed to **Dedicated** and **AWS**. + - **Plan**: select **Dedicated**. + - **Cloud Provider**: this field is fixed to **AWS**. - **Project**: select the project that contains the source cluster. - **Cluster Name**: select the source cluster. - **Backup Snapshot**: select the snapshot to restore. @@ -226,6 +227,10 @@ You can use **Cross Plan Restore** to restore a backup snapshot from an active o 4. Review the estimated monthly price and configuration, and then click **Restore** to begin restoring the backup to a new instance. +> **Note:** +> +> You can also restore a backup snapshot from an {{{ .essential }}} instance running TiDB version `CLOUD.202603.x` or later and hosted on AWS to a new {{{ .premium }}} instance. For more information, see [Restore backups from a different plan type to Premium](https://docs.pingcap.com/tidbcloud/backup-and-restore-premium/?plan=premium#restore-backups-from-a-different-plan-type). + ## Limitations diff --git a/tidb-cloud/premium/backup-and-restore-premium.md b/tidb-cloud/premium/backup-and-restore-premium.md index 2d2d465aabeec..b8aa528812741 100644 --- a/tidb-cloud/premium/backup-and-restore-premium.md +++ b/tidb-cloud/premium/backup-and-restore-premium.md @@ -271,20 +271,31 @@ To restore a deleted {{{ .premium }}} or {{{ .byoc }}} instance from the Recycle ### Restore backups from a different plan type -You can use **Cross Plan Restore** to restore a backup snapshot from an active or deleted {{{ .dedicated }}} cluster hosted on AWS to a new {{{ .premium }}} instance. The new instance must use the same cloud provider and region as the backup. Currently, only backups for {{{ .dedicated }}} clusters are supported as the source. +You can use the **Cross Plan Restore** feature to restore a backup snapshot from either of the following sources to a new {{{ .premium }}} instance: -For a CMEK-protected {{{ .dedicated }}} backup, restore to a new {{{ .premium }}} instance in the same cloud provider and region. TiDB Cloud uses the original {{{ .dedicated }}} key to decrypt the source backup and re-encrypts the data using a registered {{{ .premium }}} key for the new instance. Keep the original {{{ .dedicated }}} key active and authorized for decryption, and select a registered {{{ .premium }}} key in the same cloud provider and region (which can be the same key or a different key). If the backup does not use database-layer encryption, you can optionally enable CMEK for the new instance by selecting a registered key. For more information, see [Restore from an encrypted backup](/tidb-cloud/premium/enhanced-data-encryption-premium.md#restore-from-an-encrypted-backup). +- A backup snapshot from an active or deleted {{{ .dedicated }}} cluster hosted on AWS +- A backup snapshot from an active or deleted {{{ .essential }}} instance running TiDB version `CLOUD.202603.x` or later and hosted on AWS -To restore a backup generated by a {{{ .dedicated }}} cluster, follow these steps: +The new instance must use the same cloud provider and region as the backup. + +If your backup is protected by database-layer encryption, review the following requirements before restoring: + +- **CMEK-protected {{{ .dedicated }}} backups**: TiDB Cloud uses the original {{{ .dedicated }}} key to decrypt the source backup and re-encrypts the data using a registered {{{ .premium }}} key for the new instance. Keep the original {{{ .dedicated }}} key active and authorized for decryption, and select a registered {{{ .premium }}} key in the same cloud provider and region (which can be the same key or a different key). For more information, see [Restore from an encrypted backup](/tidb-cloud/premium/enhanced-data-encryption-premium.md#restore-from-an-encrypted-backup). +- **{{{ .essential }}} backups protected by Enhanced Data Encryption**: the new instance inherits the encryption settings used when the backup was created. You cannot disable or modify these settings during restore. + +If the backup does not use database-layer encryption, you can optionally enable encryption on the new instance: select a registered CMEK for a {{{ .dedicated }}} source, or use a TiDB Cloud-managed key for an {{{ .essential }}} source when this option is available. + +To restore a backup generated by a {{{ .dedicated }}} cluster or {{{ .essential }}} instance to a new {{{ .premium }}} instance, follow these steps: 1. On the [**My TiDB**](https://tidbcloud.com/tidbs) page, click **...** in the upper-right corner, and then click **Cross Plan Restore**. 2. In the **Select Backup** step, configure the following fields, and then click **Next**: - - **From**: select **Active** for an existing cluster or **Recycle Bin (Deleted)** for a deleted cluster. - - **Plan** and **Cloud Provider**: these fields are fixed to **Dedicated** and **AWS**. - - **Project**: select the project that contains the source cluster. - - **Cluster Name**: select the source cluster. + - **From**: select **Active** for an existing cluster or instance, or **Recycle Bin (Deleted)** for a deleted cluster or instance. + - **Plan**: select **Dedicated** or **Essential** to match the source of the backup. + - **Cloud Provider**: this field is fixed to **AWS**. + - **Project**: select the project that contains the source cluster or instance. + - **Cluster Name** or **Instance Name** (depending on the selected source plan): select the source cluster or instance. - **Backup Snapshot**: select the snapshot to restore. 3. Review **Backup Information**, and then configure **Restore to New Instance**: From cf8d0dbbad02795011c06d8e4433521b03987b87 Mon Sep 17 00:00:00 2001 From: qiancai Date: Mon, 30 Nov 2026 21:01:01 +0800 Subject: [PATCH 2/4] move cmek related instructions to restore steps --- tidb-cloud/premium/backup-and-restore-premium.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tidb-cloud/premium/backup-and-restore-premium.md b/tidb-cloud/premium/backup-and-restore-premium.md index b8aa528812741..bac0fdaa90ef3 100644 --- a/tidb-cloud/premium/backup-and-restore-premium.md +++ b/tidb-cloud/premium/backup-and-restore-premium.md @@ -278,13 +278,6 @@ You can use the **Cross Plan Restore** feature to restore a backup snapshot from The new instance must use the same cloud provider and region as the backup. -If your backup is protected by database-layer encryption, review the following requirements before restoring: - -- **CMEK-protected {{{ .dedicated }}} backups**: TiDB Cloud uses the original {{{ .dedicated }}} key to decrypt the source backup and re-encrypts the data using a registered {{{ .premium }}} key for the new instance. Keep the original {{{ .dedicated }}} key active and authorized for decryption, and select a registered {{{ .premium }}} key in the same cloud provider and region (which can be the same key or a different key). For more information, see [Restore from an encrypted backup](/tidb-cloud/premium/enhanced-data-encryption-premium.md#restore-from-an-encrypted-backup). -- **{{{ .essential }}} backups protected by Enhanced Data Encryption**: the new instance inherits the encryption settings used when the backup was created. You cannot disable or modify these settings during restore. - -If the backup does not use database-layer encryption, you can optionally enable encryption on the new instance: select a registered CMEK for a {{{ .dedicated }}} source, or use a TiDB Cloud-managed key for an {{{ .essential }}} source when this option is available. - To restore a backup generated by a {{{ .dedicated }}} cluster or {{{ .essential }}} instance to a new {{{ .premium }}} instance, follow these steps: 1. On the [**My TiDB**](https://tidbcloud.com/tidbs) page, click **...** in the upper-right corner, and then click **Cross Plan Restore**. @@ -305,6 +298,11 @@ To restore a backup generated by a {{{ .dedicated }}} cluster or {{{ .essential - **Cloud Provider** and **Region**: these fields are inherited from the backup and cannot be changed. - Configure capacity, encryption, and high availability as needed. For more information, see [Create a {{{ .premium }}} Instance](/tidb-cloud/premium/create-tidb-instance-premium.md). + Enhanced Data Encryption is optional for the new instance. The available settings depend on the source plan: + + - **Restore from a {{{ .dedicated }}} backup**: if the backup is protected by CMEK, keep the original key enabled and retain TiDB Cloud access to it so the backup can be decrypted. This is required even if you do not enable [Enhanced Data Encryption](/tidb-cloud/premium/enhanced-data-encryption-premium.md) on the new instance. To enable CMEK on the new instance, select a registered {{{ .premium }}} key in the same cloud provider and region. You can reuse the original key after registering and authorizing it for {{{ .premium }}}, or select a different registered key. For more information, see [Restore from an encrypted backup](/tidb-cloud/premium/enhanced-data-encryption-premium.md#restore-from-an-encrypted-backup). + - **Restore from an {{{ .essential }}} backup**: the encryption settings of the source backup do not restrict your encryption choices for the new instance. You can enable [Enhanced Data Encryption](/tidb-cloud/premium/enhanced-data-encryption-premium.md) using a registered CMEK or, when available, a TiDB Cloud-managed key. + > **Note:** > > If {{{ .premium }}} is unavailable in the selected backup region, you cannot proceed with the restore. Contact [TiDB Cloud Support](/tidb-cloud/tidb-cloud-support.md) to enable {{{ .premium }}} in that region, or click **Previous** and select another backup. From d4d13003e36486040e7bbe66252af804e477823f Mon Sep 17 00:00:00 2001 From: qiancai Date: Tue, 1 Dec 2026 16:38:35 +0800 Subject: [PATCH 3/4] Update enhanced-data-encryption-premium.md --- tidb-cloud/premium/enhanced-data-encryption-premium.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/premium/enhanced-data-encryption-premium.md b/tidb-cloud/premium/enhanced-data-encryption-premium.md index d4d5ebe240096..298785f825bd1 100644 --- a/tidb-cloud/premium/enhanced-data-encryption-premium.md +++ b/tidb-cloud/premium/enhanced-data-encryption-premium.md @@ -117,7 +117,7 @@ When you restore a {{{ .premium }}} backup, TiDB Cloud checks its encryption met For a CMEK-protected {{{ .premium }}} backup, you cannot select another key or disable CMEK for the restored instance, and the restore must stay in the original cloud provider and region. -When restoring a CMEK-protected {{{ .dedicated }}} backup to a new {{{ .premium }}} instance (cross-plan restore) in the same cloud provider and region, TiDB Cloud uses the original {{{ .dedicated }}} key to decrypt the source backup and re-encrypts the data with a registered {{{ .premium }}} key for the new instance. Keep the original {{{ .dedicated }}} key active and authorized for decryption, and select a registered {{{ .premium }}} key in the same cloud provider and region (which can be the same key or a different key). For more information about supported restore sources and steps, see [Backup and Restore for {{{ .premium }}}](/tidb-cloud/premium/backup-and-restore-premium.md). +When restoring a CMEK-protected {{{ .dedicated }}} backup to a new {{{ .premium }}} instance (cross-plan restore), keep the original {{{ .dedicated }}} key enabled and retain TiDB Cloud access to it so the backup can be decrypted. The new instance must use the same cloud provider and region as the backup. Enhanced Data Encryption is optional for the new instance, but the original key must remain available for decryption even if you do not enable it. To enable CMEK on the new instance, select a registered {{{ .premium }}} key in the same cloud provider and region. You can reuse the original key after registering and authorizing it for {{{ .premium }}}, or select a different registered key. For more information about supported restore sources and steps, see [Backup and Restore for {{{ .premium }}}](/tidb-cloud/premium/backup-and-restore-premium.md). > **Warning:** > From 980dac4b5f2a4bb4b704a37d7329ee5557deffac Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Tue, 1 Dec 2026 18:16:58 +0800 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: AllenMok <42613621+AllenMok@users.noreply.github.com> --- tidb-cloud/premium/backup-and-restore-premium.md | 9 ++++----- tidb-cloud/premium/enhanced-data-encryption-premium.md | 7 ++++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/tidb-cloud/premium/backup-and-restore-premium.md b/tidb-cloud/premium/backup-and-restore-premium.md index bac0fdaa90ef3..be6429fba4f11 100644 --- a/tidb-cloud/premium/backup-and-restore-premium.md +++ b/tidb-cloud/premium/backup-and-restore-premium.md @@ -296,12 +296,11 @@ To restore a backup generated by a {{{ .dedicated }}} cluster or {{{ .essential - **Plan**: select **Premium**. - **Project** and **Instance Name**: select a destination project as needed and enter a name for the new instance. If your role is `Organization Owner`, selecting a project is optional. If your role is `Project Owner`, you must select a project you own. - **Cloud Provider** and **Region**: these fields are inherited from the backup and cannot be changed. - - Configure capacity, encryption, and high availability as needed. For more information, see [Create a {{{ .premium }}} Instance](/tidb-cloud/premium/create-tidb-instance-premium.md). + - Configure capacity and high availability as needed. For more information, see [Create a {{{ .premium }}} Instance](/tidb-cloud/premium/create-tidb-instance-premium.md). + - Review [Enhanced Data Encryption](/tidb-cloud/premium/enhanced-data-encryption-premium.md#restore-from-an-encrypted-backup) for the new instance: - Enhanced Data Encryption is optional for the new instance. The available settings depend on the source plan: - - - **Restore from a {{{ .dedicated }}} backup**: if the backup is protected by CMEK, keep the original key enabled and retain TiDB Cloud access to it so the backup can be decrypted. This is required even if you do not enable [Enhanced Data Encryption](/tidb-cloud/premium/enhanced-data-encryption-premium.md) on the new instance. To enable CMEK on the new instance, select a registered {{{ .premium }}} key in the same cloud provider and region. You can reuse the original key after registering and authorizing it for {{{ .premium }}}, or select a different registered key. For more information, see [Restore from an encrypted backup](/tidb-cloud/premium/enhanced-data-encryption-premium.md#restore-from-an-encrypted-backup). - - **Restore from an {{{ .essential }}} backup**: the encryption settings of the source backup do not restrict your encryption choices for the new instance. You can enable [Enhanced Data Encryption](/tidb-cloud/premium/enhanced-data-encryption-premium.md) using a registered CMEK or, when available, a TiDB Cloud-managed key. + - **{{{ .essential }}} backup**: the new instance inherits the backup's database-layer encryption setting. If the backup uses a service-managed encryption key (SMEK), the new instance uses the same key. You cannot select a different key during restore, including a customer-managed encryption key (CMEK). If database-layer encryption was off, it stays off during restore. + - **{{{ .dedicated }}} backup**: choose the encryption for the new instance. Leave Enhanced Data Encryption off to use only the default storage-layer encryption, or enable it to add database-layer encryption. To use CMEK, select a key registered for {{{ .premium }}} in the same AWS region. If the source backup uses a CMEK, keep that key enabled and authorized so TiDB Cloud can read the backup, whichever option you choose for the new instance. > **Note:** > diff --git a/tidb-cloud/premium/enhanced-data-encryption-premium.md b/tidb-cloud/premium/enhanced-data-encryption-premium.md index 298785f825bd1..f9cd3fea04571 100644 --- a/tidb-cloud/premium/enhanced-data-encryption-premium.md +++ b/tidb-cloud/premium/enhanced-data-encryption-premium.md @@ -117,7 +117,12 @@ When you restore a {{{ .premium }}} backup, TiDB Cloud checks its encryption met For a CMEK-protected {{{ .premium }}} backup, you cannot select another key or disable CMEK for the restored instance, and the restore must stay in the original cloud provider and region. -When restoring a CMEK-protected {{{ .dedicated }}} backup to a new {{{ .premium }}} instance (cross-plan restore), keep the original {{{ .dedicated }}} key enabled and retain TiDB Cloud access to it so the backup can be decrypted. The new instance must use the same cloud provider and region as the backup. Enhanced Data Encryption is optional for the new instance, but the original key must remain available for decryption even if you do not enable it. To enable CMEK on the new instance, select a registered {{{ .premium }}} key in the same cloud provider and region. You can reuse the original key after registering and authorizing it for {{{ .premium }}}, or select a different registered key. For more information about supported restore sources and steps, see [Backup and Restore for {{{ .premium }}}](/tidb-cloud/premium/backup-and-restore-premium.md). +For a cross-plan restore to a new {{{ .premium }}} instance in the same AWS region, the source plan determines how the new instance is encrypted: + +- **{{{ .essential }}}**: the new instance inherits the backup's database-layer encryption setting. If the backup uses a service-managed encryption key (SMEK), the new instance uses the same key. You cannot select a different key during restore, including a customer-managed encryption key (CMEK). If database-layer encryption was off, it stays off during restore. +- **{{{ .dedicated }}}**: if the source backup uses a CMEK, TiDB Cloud needs continued access to that key to read the backup from Amazon S3. You can leave Enhanced Data Encryption off on the new instance and use only the default storage-layer encryption, or enable database-layer encryption. To use CMEK on the new instance, select a key registered for {{{ .premium }}} in the same AWS region. You can register and authorize the original key for {{{ .premium }}} or select a different registered key. + +For the restore steps, see [Restore backups from a different plan type](/tidb-cloud/premium/backup-and-restore-premium.md#restore-backups-from-a-different-plan-type). > **Warning:** >