Updated on 2022-02-22 GMT+08:00

Recycling a DB Instance

DDS can move deleted DB instances to the recycle bin, so you can restore them easily.

The recycling policy is enabled by default and cannot be disabled. DB instances in the recycle bin are retained for 1 day by default, and this will not incur any charges.

Currently, you can put up to 100 instances into the recycle bin. If the maximum number of instances is reached, you cannot put instances into the recycle bin any more.

Modifying the Recycling Policy

You can modify the retention period, and the changes only apply to the DB instances deleted after the changes, so exercise caution when performing this operation.

  1. Log in to the DDS console.
  2. On the Recycling Management page, click Modify Recycling Policy. In the displayed dialog box, set the retention period for the deleted DB instances from 1 day to 7 days. Then, click OK.

Rebuilding a DB Instance

You can rebuild DB instances from the recycle bin within the retention period to restore data.

  1. Log in to the DDS console.
  2. On the Recycling Management page, locate the DB instance to be rebuilt and in the Operation column, click Rebuild.
  3. On the displayed page, set required parameters and submit the rebuilding task.