ApsaraDB for Redis offers high performance, high security, and high availability. In addition, this service uses diverse architectures. An increasing number of applications use ApsaraDB for Redis as the database engine for persistent storage. Alibaba Cloud provides a variety of solutions that allow you to use ApsaraDB for Redis to back up or restore data in different scenarios.

Type Solution Description
Data backup Automatic or manual backup You can use ApsaraDB for Redis to persist data. Backups are automatically created based on the default backup policy ( RDB ). You can modify the automatic backup policy or manually create a temporary backup.
Download a backup file Backups of ApsaraDB for Redis are retained for seven days free of charge. If you require a longer retention period due to regulatory or information security requirements, you can download the backups to your on-premises machine.
Use the redis-shake tool to back up data You can use redis-shake in dump mode to back up the data of an ApsaraDB for Redis instance to an RDB file and store the RDB file on your on-premises machine.
Data restoration Restore data from a backup set to a new instance ApsaraDB for Redis allows you to create an instance from a specified backup set. The data in the new instance is the same as the data in the backup set. This feature can be applied in scenarios such as data recovery, quick workload deployment, and data verification.
Data flashback After you enable the data flashback feature ( AOF ). You can restore data of an ApsaraDB for Redis instance to a specified point in time (in seconds). This feature is applicable to scenarios in which data is frequently restored. This feature allows you to prevent data loss caused by user errors.
Note This feature is supported by only ApsaraDB for Redis instances of Enterprise Edition (Performance-enhanced instances).
Use redis-shake to restore data You can use redis-shake in restore mode to restore data from an RDB file to an ApsaraDB for Redis instance.