Updated on 2024-07-18 GMT+08:00

Modifying Recycling Policy

Deleted DB instances can be moved to the recycle bin. You can rebuild DB instances from the recycle bin to restore data. The DB engine, DB engine version, and storage type of the new DB instance are the same as those of the original DB instance. Other parameters can be reconfigured. DB instances that were deleted up to 7 days ago can be restored.

Constraints

  • Read replicas cannot be moved to the recycle bin.
  • A stopped instance will not be moved to the recycle bin after being deleted.
  • The recycle bin is enabled by default and cannot be disabled.

Precautions

  • The recycle bin is enabled by default and cannot be disabled. This function is free of charge.
  • Instances in the recycle bin are retained for 7 days by default. A new recycling policy only applies to DB instances that were put in the recycle bin after the new policy was put into effect. For DB instances that were in the recycle bin before the modification, the original recycling policy takes effect.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Databases > Relational Database Service.
  3. In the navigation pane on the left, choose Recycle Bin.
  4. Click Modify Recycling Policy and set the retention period of deleted instances. The value ranges from 1 to 7 days.
  5. Then, click OK.