Updated on 2025-07-23 GMT+08:00

Rebuilding a DB Instance

Precautions

  • Only primary/standby or single-node DB instances can be rebuilt.
  • You can only rebuild DB instances within the retention period.
  • After an instance is deleted, the latest automated full backup of the previous day is retained. If no automated full backup of the previous day exists, the latest automated full backup is retained. Additionally, a full backup is performed. You can select either of the backups to rebuild the instance.
  • If resources are not renewed after expiration, you can rebuild DB instances from the recycle bin to restore data.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  4. In the navigation pane on the left, choose Recycle Bin.
  5. In the DB instance list, locate the target DB instance and click Rebuild in the Operation column.
  6. In the displayed dialog box, locate a backup and click Rebuild in the Operation column.

    Figure 1 Selecting a backup to rebuild the instance

  7. On the displayed page, set the required parameters and submit the task. For details, see Restoring to a New Instance.