Updated on 2024-10-08 GMT+08:00

Recycling an Instance

You can restore unsubscribed yearly/monthly instances or deleted pay-per-use instances from the recycle bin.

Precautions

  • The recycling bin is enabled by default and cannot be disabled. Instances in the recycle bin are retained for 7 days by default, and this will not incur any charges.
  • 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.
  • If you delete an instance of full storage, the deleted instance will not be moved to the recycle bin.
  • 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.

Modifying the Recycling Policy

  1. Log in to the GeminiDB console.
  2. In the service list, choose Databases > GeminiDB Cassandra API.
  3. 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.

    Figure 1 Modifying a recycling policy

Rebuilding an Instance

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

  1. Log in to the GeminiDB console.
  2. In the service list, choose Databases > GeminiDB Cassandra API.
  3. On the Recycling Bin page, locate the instance to be rebuilt and in the Operation column, click Rebuild.

    Figure 2 Rebuilding an instance

  4. On the displayed page, set required parameters and submit the rebuilding task.