Based on Data Transmission Service (DTS) and redis-shake tools, ApsaraDB for Redis provides multiple data synchronization solutions. These solutions apply to the following scenarios: active geo-redundancy, disaster recovery, and data analysis.

Data synchronization tools

Tool Description
DTS (Recommended) 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 one-way and two-way data synchronization. These synchronization solutions apply to scenarios such as active geo-redundancy and geo-disaster recovery.
Note Only ApsaraDB for Redis Enhanced Edition (Tair) supports the two-way data synchronization.
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 synchronize data.

Data synchronization solutions

Scenario Tool Solution
Synchronize data from an on-premises database to an ApsaraDB for Redis instance DTS Synchronize data from a user-created Redis cluster to an ApsaraDB for Redis cluster instance
Synchronize data from a user-created Redis database hosted on ECS to an ApsaraDB for Redis instance
Synchronize data from a Codis cluster hosted on ECS to an ApsaraDB for Redis instance
Synchronize data from a Twemproxy Redis cluster hosted on ECS to an ApsaraDB for Redis instance
ssdb-port Use ssdb-port to synchronize data from SSDB to ApsaraDB for Redis
Note You can use ssdb-port to synchronize data from Sequence Similarity DataBase (SSDB) to ApsaraDB for Redis in real time.
Synchronize data between ApsaraDB for Redis instances DTS Configure one-way data synchronization between ApsaraDB for Redis instances
Configure two-way data synchronization between ApsaraDB for Redis Enhanced Edition instances
Synchronize data between ApsaraDB for Redis cluster instances across Alibaba Cloud accounts
redis-shake Use redis-shake to synchronize data from one ApsaraDB for Redis instance to another
Synchronize data between on-premises databases DTS Synchronize data from a user-created Redis database connected over Express Connect, VPN Gateway, or Smart Access Gateway to a user-created Redis database hosted on ECS