After the data flashback feature is enabled, you can restore the data of an instance or a specified key to a point in time that is accurate to seconds from an unexpired backup file. You can restore data to a new instance or the original instance. Such a refined data restoration capability can protect business data and prevent data loss that is caused by accidental operations to the greatest extent.
Prerequisites
- The instance is a performance-enhanced instance of the ApsaraDB for Redis Enhanced Edition (Tair). For more information about performance-enhanced instances, see Performance-enhanced instances.
- The instance uses the standard architecture or the cluster architecture. For more information about standard instances and cluster instances, see Standard master-replica instances and Cluster master-replica instances.
- The minor version of the instance is the latest. For more information, see Update the minor version.
Note If the Upgrade Minor Version button is dimmed, the minor version is the latest.
Data flashback introduction
To protect your business data in the cloud, ApsaraDB for Redis Enhanced Edition (Tair) provides the data flashback feature in addition to the data backup and restoration features based on Redis Database (RDB) snapshots. ApsaraDB for Redis Enhanced Edition (Tair) optimizes the persistence mechanism based on append-only-files (AOFs) and incrementally archives AOFs so that data can be restored to a point in time accurate to seconds. This facilitates O&M and allows you to use ApsaraDB for Redis Enhanced Edition (Tair) for persistent storage.
After the data flashback feature is enabled, you can restore the data of an instance or a specified key to a point in time that is accurate to seconds from an unexpired backup file. The maximum retention period of backup files is seven days. You can restore data to a new instance or the original instance. Such a refined data restoration capability can protect business data and prevent data loss that is caused by accidental operations to the greatest extent.

Limits
- You can restore data only to a specific point in time that is in the time range from when data flashback is enabled to the current time. This period can be up to seven days.
- After the data flashback feature is enabled, the point in time for data backup may
be changed due to configuration changes, cross-zone migrations, or minor version upgrades.
For example, if you change the configurations of an instance, the point in time that
you can restore data to starts from the time when the configuration change is complete.
Note If you change the architecture of an instance (such as from standard to cluster), date flashback is disabled for the instance. To use data flashback, you must re-enable the feature.
- After you enable the data flashback feature, it requires about 10 minutes for the system to upload data and logs.
Billing
During the trial period of the data flashback feature, you can restore data to a point in time within the last seven days free of charge. After the official release, this feature is charged based on points in time of restoration. For more information, see this topic or the announcement on the Alibaba Cloud website.
Enable the data flashback feature
Perform data flashback
Related API operations
Operation | Description |
---|---|
RestoreInstance | Restores the data of an ApsaraDB for Redis instance from a backup file to the instance. If you use this operation together with the data flashback feature, you can restore data of a specified key to a specified point in time that is accurate to seconds. |