Docs
tidb
Operation Guide
TiDBServerless
Backup and recovery

Backup and Restoration

The same available zone version of the TiDB service will back up data to the user’s US3-Bucket, making it easy for users to download themselves. It requires the user’s account to enable US3 permissions and authorizes operations (creating bucket, uploading backup files, downloading backup files for restoration) US3 products.

Setting Backup Strategy

ParameterDescription
Whether to enable automatic backupToggle of automatic backup
Backup TimeDaily automatic backup time
Number of auto backup retainsautomatic backups have a quantity limitation, when exceeding the limit, the earliest automatic backup will be deleted, up to 7 copies
Auto Backup IntervalAfter how many days, perform auto backup again, up to 7 days

Adjust Auto Backup Strategy

You can click the “Auto Backup Strategy” button in the backup panel to adjust whether to enable auto backup and the backup strategy

Manual Backup

In addition to automatic backup, TiDB also provides manual backup options. Click the “Manual Backup” button in the backup panel to start a manual backup task. Up to 7 copies of manual backup can be retained at the same time.

Backup Restoration

TiDB currently supports restoring from backup files to a new TiDB instance. Users need to prepare a new instance in advance. The restoration work will overwrite the data of the new instance, please be careful when choosing.

In the backup list, select the backup data you want to restore, click the “Restore” button to open the restoration window, select the new instance you want to restore, and click “Confirm” to start the restoration task.

Afterwards, you can check the status of the restoration task in the restoration panel.