Skip to content
Merged
166 changes: 87 additions & 79 deletions TOC-tidb-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,26 @@
- [Select Your Cluster Tier](/tidb-cloud/select-cluster-tier.md)
- [Determine Your TiDB Size](/tidb-cloud/size-your-cluster.md)
- [TiDB Cloud Performance Reference](/tidb-cloud/tidb-cloud-performance-reference.md)
- [Create a TiDB Cluster](/tidb-cloud/create-tidb-cluster.md)
- Connect to Your TiDB Cluster
- [Connection Method Overview](/tidb-cloud/connect-to-tidb-cluster.md)
- [Connect via Standard Connection](/tidb-cloud/connect-via-standard-connection.md)
- [Connect via Private Endpoint](/tidb-cloud/set-up-private-endpoint-connections.md)
- [Connect via VPC Peering](/tidb-cloud/set-up-vpc-peering-connections.md)
- [Connect via SQL Shell](/tidb-cloud/connect-via-sql-shell.md)
- Manage TiDB Serverless Clusters
- [Create a TiDB Serverless Cluster](/tidb-cloud/create-tidb-cluster-serverless.md)
- Connect to Your TiDB Serverless Cluster
- [Connection Method Overview](/tidb-cloud/connect-to-tidb-cluster-serverless.md)
- [Connect via Public Endpoint](/tidb-cloud/connect-via-standard-connection-serverless.md)
- [Connect via Private Endpoint](/tidb-cloud/set-up-private-endpoint-connections-serverless.md)
- [Manage Spend Limit](/tidb-cloud/manage-serverless-spend-limit.md)
- [Back Up and Restore TiDB Serverless Data](/tidb-cloud/backup-and-restore-serverless.md)
- Manage TiDB Dedicated Clusters
- [Create a TiDB Dedicated Cluster](/tidb-cloud/create-tidb-cluster.md)
- Connect to Your TiDB Dedicated Cluster
- [Connection Method Overview](/tidb-cloud/connect-to-tidb-cluster.md)
- [Connect via Standard Connection](/tidb-cloud/connect-via-standard-connection.md)
- [Connect via Private Endpoint](/tidb-cloud/set-up-private-endpoint-connections.md)
- [Connect via VPC Peering](/tidb-cloud/set-up-vpc-peering-connections.md)
- [Connect via SQL Shell](/tidb-cloud/connect-via-sql-shell.md)
- [Scale a TiDB Dedicated Cluster](/tidb-cloud/scale-tidb-cluster.md)
- [Back Up and Restore TiDB Dedicated Data](/tidb-cloud/backup-and-restore.md)
- [Pause or Resume a TiDB Dedicated Cluster](/tidb-cloud/pause-or-resume-tidb-cluster.md)
- [Configure Maintenance Window](/tidb-cloud/configure-maintenance-window.md)
- Use an HTAP Cluster with TiFlash
- [TiFlash Overview](/tiflash/tiflash-overview.md)
- [Create TiFlash Replicas](/tiflash/create-tiflash-replicas.md)
Expand All @@ -104,10 +117,63 @@
- [Supported Push-down Calculations](/tiflash/tiflash-supported-pushdown-calculations.md)
- [TiFlash Query Result Materialization](/tiflash/tiflash-results-materialization.md)
- [Compatibility](/tiflash/tiflash-compatibility.md)
- [Manage Spend Limit](/tidb-cloud/manage-serverless-spend-limit.md)
- [Scale a TiDB Cluster](/tidb-cloud/scale-tidb-cluster.md)
- [Pause or Resume a TiDB Cluster](/tidb-cloud/pause-or-resume-tidb-cluster.md)
- [Configure Maintenance Window](/tidb-cloud/configure-maintenance-window.md)
- Monitor and Alert
- [Overview](/tidb-cloud/monitor-tidb-cluster.md)
- [Built-in Metrics](/tidb-cloud/built-in-monitoring.md)
- [Built-in Alerting](/tidb-cloud/monitor-built-in-alerting.md)
- [Cluster Events](/tidb-cloud/tidb-cloud-events.md)
- [Third-Party Metrics Integrations](/tidb-cloud/third-party-monitoring-integrations.md)
- Tune Performance
- [Overview](/tidb-cloud/tidb-cloud-tune-performance-overview.md)
- Analyze Performance
- [Use the Diagnosis Tab](/tidb-cloud/tune-performance.md)
- [Use Index Insight (Beta)](/tidb-cloud/index-insight.md)
- [Use Statement Summary Tables](/statement-summary-tables.md)
- SQL Tuning
- [Overview](/tidb-cloud/tidb-cloud-sql-tuning-overview.md)
- Understanding the Query Execution Plan
- [Overview](/explain-overview.md)
- [`EXPLAIN` Walkthrough](/explain-walkthrough.md)
- [Indexes](/explain-indexes.md)
- [Joins](/explain-joins.md)
- [MPP Queries](/explain-mpp.md)
- [Subqueries](/explain-subqueries.md)
- [Aggregation](/explain-aggregation.md)
- [Views](/explain-views.md)
- [Partitions](/explain-partitions.md)
- [Index Merge](/explain-index-merge.md)
- SQL Optimization Process
- [Overview](/sql-optimization-concepts.md)
- Logic Optimization
- [Overview](/sql-logical-optimization.md)
- [Subquery Related Optimizations](/subquery-optimization.md)
- [Column Pruning](/column-pruning.md)
- [Decorrelation of Correlated Subquery](/correlated-subquery-optimization.md)
- [Eliminate Max/Min](/max-min-eliminate.md)
- [Predicates Push Down](/predicate-push-down.md)
- [Partition Pruning](/partition-pruning.md)
- [TopN and Limit Push Down](/topn-limit-push-down.md)
- [Join Reorder](/join-reorder.md)
- Physical Optimization
- [Overview](/sql-physical-optimization.md)
- [Index Selection](/choose-index.md)
- [Statistics](/statistics.md)
- [Extended Statistics](/extended-statistics.md)
- [Wrong Index Solution](/wrong-index-solution.md)
- [Distinct Optimization](/agg-distinct-optimization.md)
- [Cost Model](/cost-model.md)
- [Prepare Execution Plan Cache](/sql-prepared-plan-cache.md)
- Control Execution Plans
- [Overview](/control-execution-plan.md)
- [Optimizer Hints](/optimizer-hints.md)
- [SQL Plan Management](/sql-plan-management.md)
- [The Blocklist of Optimization Rules and Expression Pushdown](/blocklist-control-plan.md)
- [TiKV Follower Read](/follower-read.md)
- [Coprocessor Cache](/coprocessor-cache.md)
- Garbage Collection (GC)
- [Overview](/garbage-collection-overview.md)
- [Configuration](/garbage-collection-configuration.md)
- [Tune TiFlash Performance](/tiflash/tune-tiflash-performance.md)
- [Upgrade a TiDB Cluster](/tidb-cloud/upgrade-tidb-cluster.md)
- [Delete a TiDB Cluster](/tidb-cloud/delete-tidb-cluster.md)
- Migrate or Import Data
Expand Down Expand Up @@ -148,78 +214,20 @@
- [To MySQL Sink](/tidb-cloud/changefeed-sink-to-mysql.md)
- [To Kafka Sink (Beta)](/tidb-cloud/changefeed-sink-to-apache-kafka.md)
- [To TiDB Cloud Sink](/tidb-cloud/changefeed-sink-to-tidb-cloud.md)
- Back Up and Restore
- [Automatic Backup](/tidb-cloud/backup-and-restore.md)
- [Manual Backup](/tidb-cloud/backup-and-restore.md#manual-backup)
- [Restore](/tidb-cloud/backup-and-restore.md#restore)
- Monitor and Alert
- [Overview](/tidb-cloud/monitor-tidb-cluster.md)
- [Built-in Metrics](/tidb-cloud/built-in-monitoring.md)
- [Built-in Alerting](/tidb-cloud/monitor-built-in-alerting.md)
- [Cluster Events](/tidb-cloud/tidb-cloud-events.md) 
- [Third-Party Metrics Integrations](/tidb-cloud/third-party-monitoring-integrations.md)
- Tune Performance
- [Overview](/tidb-cloud/tidb-cloud-tune-performance-overview.md)
- Analyze Performance
- [Use the Diagnosis Tab](/tidb-cloud/tune-performance.md)
- [Use Index Insight (Beta)](/tidb-cloud/index-insight.md)
- [Use Statement Summary Tables](/statement-summary-tables.md)
- SQL Tuning
- [Overview](/tidb-cloud/tidb-cloud-sql-tuning-overview.md)
- Understanding the Query Execution Plan
- [Overview](/explain-overview.md)
- [`EXPLAIN` Walkthrough](/explain-walkthrough.md)
- [Indexes](/explain-indexes.md)
- [Joins](/explain-joins.md)
- [MPP Queries](/explain-mpp.md)
- [Subqueries](/explain-subqueries.md)
- [Aggregation](/explain-aggregation.md)
- [Views](/explain-views.md)
- [Partitions](/explain-partitions.md)
- [Index Merge](/explain-index-merge.md)
- SQL Optimization Process
- [Overview](/sql-optimization-concepts.md)
- Logic Optimization
- [Overview](/sql-logical-optimization.md)
- [Subquery Related Optimizations](/subquery-optimization.md)
- [Column Pruning](/column-pruning.md)
- [Decorrelation of Correlated Subquery](/correlated-subquery-optimization.md)
- [Eliminate Max/Min](/max-min-eliminate.md)
- [Predicates Push Down](/predicate-push-down.md)
- [Partition Pruning](/partition-pruning.md)
- [TopN and Limit Push Down](/topn-limit-push-down.md)
- [Join Reorder](/join-reorder.md)
- Physical Optimization
- [Overview](/sql-physical-optimization.md)
- [Index Selection](/choose-index.md)
- [Statistics](/statistics.md)
- [Extended Statistics](/extended-statistics.md)
- [Wrong Index Solution](/wrong-index-solution.md)
- [Distinct Optimization](/agg-distinct-optimization.md)
- [Cost Model](/cost-model.md)
- [Prepare Execution Plan Cache](/sql-prepared-plan-cache.md)
- Control Execution Plans
- [Overview](/control-execution-plan.md)
- [Optimizer Hints](/optimizer-hints.md)
- [SQL Plan Management](/sql-plan-management.md)
- [The Blocklist of Optimization Rules and Expression Pushdown](/blocklist-control-plan.md)
- [TiKV Follower Read](/follower-read.md)
- [Coprocessor Cache](/coprocessor-cache.md)
- Garbage Collection (GC)
- [Overview](/garbage-collection-overview.md)
- [Configuration](/garbage-collection-configuration.md)
- [Tune TiFlash Performance](/tiflash/tune-tiflash-performance.md)
- Security
- Identity Access Control
- [Password Authentication](/tidb-cloud/tidb-cloud-password-authentication.md)
- [SSO Authentication](/tidb-cloud/tidb-cloud-sso-authentication.md)
- [Identity Access Management](/tidb-cloud/manage-user-access.md)
- Network Access Control
- [Configure an IP Access List](/tidb-cloud/configure-ip-access-list.md)
- [Connect via Private Endpoint](/tidb-cloud/set-up-private-endpoint-connections.md)
- [Connect via VPC Peering](/tidb-cloud/set-up-vpc-peering-connections.md)
- [TLS Connections to Serverless Tier](/tidb-cloud/secure-connections-to-serverless-tier-clusters.md)
- [TLS Connections to Dedicated Tier](/tidb-cloud/tidb-cloud-tls-connect-to-dedicated-tier.md)
- TiDB Serverless
- [Connect via Private Endpoint](/tidb-cloud/set-up-private-endpoint-connections-serverless.md)
- [TLS Connections to TiDB Serverless](/tidb-cloud/secure-connections-to-serverless-tier-clusters.md)
- TiDB Dedicated
- [Configure an IP Access List](/tidb-cloud/configure-ip-access-list.md)
- [Connect via Private Endpoint](/tidb-cloud/set-up-private-endpoint-connections.md)
- [Connect via VPC Peering](/tidb-cloud/set-up-vpc-peering-connections.md)
- [TLS Connections to TiDB Dedicated](/tidb-cloud/tidb-cloud-tls-connect-to-dedicated-tier.md)
- Database Access Control
- [Configure Cluster Security Settings](/tidb-cloud/configure-security-settings.md)
- Audit Management
Expand Down Expand Up @@ -540,6 +548,8 @@
- [Dumpling](/dumpling-overview.md)
- [Table Filter](/table-filter.md)
- [Troubleshoot Inconsistency Between Data and Indexes](/troubleshoot-data-inconsistency-errors.md)
- [Support](/tidb-cloud/tidb-cloud-support.md)
- [Glossary](/tidb-cloud/tidb-cloud-glossary.md)
- FAQs
- [TiDB Cloud FAQs](/tidb-cloud/tidb-cloud-faq.md)
- [Serverless Tier FAQs](/tidb-cloud/serverless-tier-faqs.md)
Expand All @@ -548,5 +558,3 @@
- [2022](/tidb-cloud/release-notes-2022.md)
- [2021](/tidb-cloud/release-notes-2021.md)
- [2020](/tidb-cloud/release-notes-2020.md)
- [Support](/tidb-cloud/tidb-cloud-support.md)
- [Glossary](/tidb-cloud/tidb-cloud-glossary.md)
2 changes: 1 addition & 1 deletion develop/dev-guide-get-data-from-single-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Before querying data, make sure that you have completed the following steps:

<CustomContent platform="tidb-cloud">

3. [Connect to TiDB](/tidb-cloud/connect-to-tidb-cluster.md).
3. [Connect to TiDB](/tidb-cloud/connect-to-tidb-cluster-serverless.md).

</CustomContent>

Expand Down
64 changes: 64 additions & 0 deletions tidb-cloud/backup-and-restore-serverless.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
title: Back Up and Restore TiDB Serverless Data
summary: Learn how to back up and restore your TiDB Serverless cluster.
aliases: ['/tidbcloud/restore-deleted-tidb-cluster']
---

# Back Up and Restore TiDB Serverless Data

This document describes how to back up and restore your TiDB Serverless cluster data on TiDB Cloud.

> **Tip:**
>
> To learn how to back up and restore TiDB Dedicated cluster data, see [Back Up and Restore TiDB Dedicated Data](/tidb-cloud/backup-and-restore.md).

## Limitations

- It is important to note that TiDB Serverless clusters only support in-place restoring from backups. When a restore is performed, tables in the `mysql` schema are also impacted. Hence, any changes made to user credentials and permissions or system variables will be rolled back to the state when the backup was taken.
- Manual backup is not yet supported.
- PITR (Point-in-time Recovery) 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.

## Backup

Automatic backups are scheduled for your TiDB Serverless clusters according to the backup setting, which can reduce your loss in extreme disaster situations.

### Automatic backup

By the automatic backup, you can back up the TiDB Serverless cluster data every day at the backup time you have set. To set the backup time, perform the following steps:

1. Navigate to the **Backup** page of a TiDB Serverless cluster.

2. Click **Backup Settings**. This will open the **Backup Settings** window, where you can configure the automatic backup settings according to your requirements.

- In **Backup Time**, schedule a start time for the daily cluster backup.

If you do not specify a preferred backup time, TiDB Cloud assigns a default backup time, which is 2:00 AM in the time zone of the region where the cluster is located.

- In **Backup Retention**, configure the minimum backup data retention period.

The backup retention period must be set within a range of 7 to 90 days.

3. Click **Confirm**.

### Delete backup files

To delete an existing backup file, perform the following steps:

1. Navigate to the **Backup** tab of a cluster.

2. Click **Delete** for the backup file that you want to delete.

## Restore

TiDB Serverless only supports in-place restoration. To restore your TiDB Serverless cluster from a backup, follow these steps:

1. Navigate to the **Backup** page of a cluster.

2. Click **Restore**. This will open the **Restore** window.

1. Choose a backup from the **Backup Time** drop-down list.
2. Click **Confirm** to begin the restoration process.

After initiating the restore process, the cluster status changes to **Restoring**. The cluster will be unavailable during the restore process and existing connections will be terminated. Once the restore process completes successfully, you can access the cluster as usual.
Loading