- Documentation
Cache for Redis
User guide
Backup and recovery
Recovery
Recovery by point in time
Recovery
Recovery by point in time
Recovery by point in time
Cache for Redis supports restoring instances to a specified point in time through backup files. You can restore instance data to a new instance or the source instance according to service requirements.
Prerequisite
- The instance type is the Primary-secondary instance. Single-node instances do not support backup and restore functionality. For details about the feature differences between the two instance types, refer to Feature differences.
Precautions
- During data recovery (either to a new instance or to an original instance), do not perform any read or write operations on the instance. Otherwise, the recovery may fail or the recovered data may not meet expectations.
Billing instructions
Fees are incurred when restoring data to a new instance by point in time. For instance billing details, refer to Billing overview. Restore to new instance (recommended)
- In the upper-left corner of the top menu bar, select the project and region to which the instance belongs.
- You can choose any of the following methods to access the Data recovery page.
- On the Instances page, click the target instance.
- On the Summary page, click Backups tab.
- On the Backups tab, under the Basic backups sub-tab, click Data recovery.
- In the left navigation bar, select NoSQL Database > Redis > Backups.
- On the Backups page, under the Basic backups tab, click Restore in the Actions column on the right side of the target backup.
tip
You can filter the target backup by the filter conditions in the upper-right corner of the list, as well as by fields such as Backup status, Instance status, and so on in the list. For more information about backup filter conditions or fields, refer to Viewing basic backups. - On the Data recovery page, configure the following parameters.
- First configure the following Restore settings related parameters.
- Configure the following parameters for the newly restored instance.
- In the lower-right corner of the page, click Confirm order.
- Complete the subsequent steps according to the billing type you selected.
Description
- It takes about a few minutes to create an instance. You can view the newly created instance in the instance list.
- You can go to Tasks to view the corresponding task of the newly created instance (the Task name/ID is CreateInstanceInner), and check the stage and progress details of the current task. For specific procedures, refer to Task management.
- Before the Task status of a newly created instance enters Task success 100%, do not perform any read or write operations on the new instance. Otherwise, it may lead to instance recovery failure or data not meeting expectations after recovery.
Restore to original instance
tip
- If the instance has been downgraded, make sure that the specifications of the single shard node and the number of shards of the recovered instance are greater than or equal to the node specification and the number of shards of the instance in the backup file, otherwise an error will be reported when recovering.
- Before the restoration initiates, the system will perform a full backup by default.
- Upon initiation of the restoration, the current instance will be cleared, and the instance cannot be read or written during the restoration process.
- After enabling data flashback, restoring to the original instance results in automatic shut-off and restart of data flashback. After enabling data flashback again, recoverable point in times start from the time when the original instance is restored. For more information, refer to Setting data flashback.
- You can choose any of the following methods to access the Data recovery page.
- On the Instances page, click the target instance.
- On the Summary page, click Backups tab.
- On the Backups tab, under the Basic backups sub-tab, click Data recovery.
- In the left navigation bar, select NoSQL Database > Redis > Backups.
- On the Backups page, under the Basic backups tab, click Restore in the Actions column on the right side of the target backup.
tip
You can filter the target backup by the filter conditions in the upper-right corner of the list, as well as by fields such as Backup status, Instance status, and so on in the list. For more information about backup filter conditions or fields, refer to Viewing basic backups. - On the Data recovery page, configure the following parameters.
- Click OK in the lower right corner of the page.
Relevant APIs
Last updated: 2026.07.31 12:21:41