The content of this page has been automatically translated by AI. If you encounter any problems while reading, you can view the corresponding content in Chinese.
Help & Documentation>Tencent CloudBase

Backup and Restore

Last updated: 2025-02-12 10:46:50

Description

Cloud Development provides a database rollback feature. The system automatically enables database backup and performs a data backup daily at midnight, retaining backup data for up to 14 days. If needed, developers can create a rollback task in the cloud console to roll back (restore) the collection to a specified point in time.
Note:
During the rollback, data access to the database is not affected. After the rollback is complete, developers can see the original database collection and the rolled-back collection in the collection list.

Create Rollback

1. Log in to the Tencent CloudBase Console and click to go to the unified CloudBase workstation.
2. In Data Management > Cloud Database, click Database Rollback and Create Rollback task.



3. After clicking Create Rollback, you can select the desired rollback time point and the collection to be rolled back. Note:
Only one rollback time can be set for each rollback task. The rollback time for all collections to be rolled back is based on this time point.
Multiple collections can be selected for a rollback task, and select all is supported.
Each collection to be rolled back can have its collection name set individually after the rollback.
The system will generate a default collection name after the rollback. The generation rule is: original collection name_bak.
The collection name after the rollback cannot be duplicated with the existing collection name.



4. After clicking Confirm, developers can view the rollback progress on the database rollback page. Note:
To avoid data conflicts, new rollback tasks cannot be created while a current rollback task is in execution.
After the rollback is completed, developers can see the original database collections and the collections after the rollback in the collection list.