ApsaraDB for Redis provides multiple data migration solutions by using Data Transmission Service (DTS) to meet your needs for data synchronization to cloud, active geo-redundancy, disaster recovery, and data analytics.
Alibaba Cloud DTS is a real-time data streaming service that provides the data synchronization, data migration, change tracking, data integration, and data processing features with stable and secure data transmission. DTS supports full data migration and incremental data migration with minimal downtime. This ensures service availability.
|Tool||Supported source database||Supported destination database||Supported architecture||Supported synchronization topology|
Note Read/write splitting instances do not support data synchronization between ApsaraDB for Redis instances that belong to different Alibaba Cloud accounts.
Note Only ApsaraDB for Redis Enhanced Edition (Tair) instances whose database engine version is Redis 5.0 support two-way synchronization.
The permissions that are required by DTS vary with synchronization scenarios. Before you configure data synchronization, you must obtain the required permissions on the source and destination databases based on the synchronization scenarios. The following table describes the required permissions.
|Tool||Scenario||Permission on the source database||Permission on the destination database|
|DTS (recommended)||Read permissions||Read and write permissions|
Note You cannot create an account that has replication permissions for the source instance in the cluster or read/write splitting architecture. If the destination instance is an ApsaraDB for Redis instance, you can submit a ticket to apply for the permissions.
|Read and write permissions|
|Permissions to run the SYNC or PSYNC command||Read and write permissions|
Data synchronization solutions
|Synchronize data from a self-managed database to an ApsaraDB for Redis instance||DTS||Synchronize data from a self-managed Redis cluster to an ApsaraDB for Redis cluster instance|
|Synchronize data from a self-managed Redis database hosted on an ECS instance to an ApsaraDB for Redis instance|
|Synchronize data from a Codis cluster hosted on an ECS instance to an ApsaraDB for Redis instance|
|Synchronize data from a Twemproxy Redis cluster hosted on an ECS instance to an ApsaraDB for Redis instance|
|Synchronize data between ApsaraDB for Redis instances||DTS||Synchronize data between ApsaraDB for Redis cluster instances across Alibaba Cloud accounts|
|Configure two-way synchronization between ApsaraDB for Redis Enhanced Edition (Tair) instances|
|Synchronize data between self-managed Redis databases||DTS||Synchronize data from a self-managed Redis database connected over Express Connect, VPN Gateway, or SAG to a self-managed Redis database hosted on an ECS instance|