Help Center/ GaussDB/ User Guide/ Instance Management/ Modifying the Recycle Bin Policy for a GaussDB Instance
Updated on 2024-11-11 GMT+08:00

Modifying the Recycle Bin Policy for a GaussDB Instance

You can recycle deleted GaussDB instances within the configured retention period and rebuild instances from the recycle bin as needed.

The recycle bin is enabled by default and cannot be disabled. The deleted instances can be retained for 7 days by default.

Procedure

  • 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.
  • DB instances to be rebuilt in the recycle bin will not incur charges.
  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.
  4. In the navigation pane on the left, choose Recycle Bin.
  5. Click Modify Recycling Policy. In the displayed dialog box, set the retention period for the deleted DB instances from 1 day to 7 days.

    Figure 1 Modifying the recycling policy

  6. Click OK.