Updated on 2024-11-06 GMT+08:00

Rebuilding a DB Instance in the Recycle Bin

You can rebuild unsubscribed yearly/monthly DB instances and deleted pay-per-use DB instances in the recycle bin.

The recycle bin is enabled by default and cannot be disabled.

Modifying the Recycling Policy

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB(for MySQL).
  4. On the Recycle Bin page, click Modify Recycling Policy. In the displayed dialog box, set Retention Period (value range: 1 to 7, in days).

    The new recycling policy applies only to DB instances deleted after the changes.

    Figure 1 Modifying the recycling policy

  5. Click OK.

Rebuilding a DB Instance

You can rebuild DB instances in the recycle bin within the retention period.

  1. On the Recycle Bin page, locate the DB instance you want to rebuild and click Rebuild in the Operation column.
  2. On the displayed Rebuild DB Instance page, set required parameters by referring to section "Buying a DB Instance".
  3. Click Next.
  4. Confirm the information and click Submit.