Based on Data Transmission Service (DTS) and redis-shake tools, ApsaraDB for Redis provides multiple data migration solutions. This allows you to migrate data in different scenarios based on your business requirements.

Data migration tools

Tool Description
DTS (Recommended) Alibaba Cloud DTS is a real-time data streaming service. The service allows you to migrate, subscribe to, and synchronize data by using stable and secure transmission channels. DTS supports full data migration and incremental data migration with minimized downtime to ensure service availability.
redis-shake Redis-shake is an open source Linux-based tool developed by Alibaba Cloud. You can use this flexible and efficient tool to parse (decode mode), restore (restore mode), back up (dump mode), and synchronize (sync or rump mode) data on ApsaraDB for Redis instances. If DTS is unavailable, you can use redis-shake to migrate data.

Data migration solutions

Table 1. Migration solutions
Scenario Tool Solution
Migrate data from an on-premises Redis database to ApsaraDB for Redis DTS Migrate data from a user-created Redis database to an ApsaraDB for Redis instance
Synchronize data from a Codis cluster hosted on ECS to an ApsaraDB for Redis instance
Note Use the data synchronization feature of DTS to migrate data.
Synchronize data from a Twemproxy Redis cluster hosted on ECS to an ApsaraDB for Redis instance
Note Use the data synchronization feature of DTS to migrate data.
redis-shake Use redis-shake to migrate data
Use the redis-shake tool to migrate the data of an on-premises Codis or Redis cluster to the cloud
Use the redis-shake tool to migrate data from an RDB file
Use AOF files to migrate data
Migrate data from ApsaraDB for Redis to an on-premises Redis database redis-shake Use a backup file to migrate data
Migrate data between ApsaraDB for Redis instances redis-shake Use redis-shake to migrate data
Migrate data from a third-party database to ApsaraDB for Redis redis-shake Migrate data from Amazon ElastiCache for Redis to ApsaraDB for Redis
Migrate data from SSDB to ApsaraDB for Redis
Migrate data from Google Cloud Memorystore for Redis to ApsaraDB for Redis