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
Parameter | Description |
---|---|
Whether to enable automatic backup | Toggle of automatic backup |
Backup Time | Daily automatic backup time |
Number of auto backup retains | automatic backups have a quantity limitation, when exceeding the limit, the earliest automatic backup will be deleted, up to 7 copies |
Auto Backup Interval | After 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.