ApsaraDB for Redis provides multiple data migration solutions by using Data Transmission Service (DTS) to meet your needs for data migration.
DTS
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 and incremental data migration with minimal downtime. This ensures service availability.
Tool | Supported source database | Supported destination database | Supported instance architecture | Supported migration type |
---|---|---|---|---|
DTS (recommended) |
|
|
|
|
Required permissions
The permissions that are required by DTS vary based on migration scenarios. Before you configure data migration, you must obtain the required permissions on the source and destination databases based on the migration scenarios. The following table describes the required permissions.
Tool | Scenario | Permission on the source database | Permission on the destination database |
---|---|---|---|
DTS (recommended) |
| Permissions to run the SYNC or PSYNC command | Read and write permissions |
Data migration solutions
Scenario | Tool | Solution |
---|---|---|
Migrate data from a self-managed Redis database to an ApsaraDB for Redis instance | DTS | Migrate data from a self-managed Redis database to an ApsaraDB for Redis instance |
Synchronize data from a Codis cluster hosted on an ECS instance to an ApsaraDB for Redis instance Note This solution uses the data synchronization feature of DTS to migrate data. | ||
Synchronize data from a Twemproxy Redis cluster hosted on an ECS instance to an ApsaraDB for Redis instance Note This solution uses the data synchronization feature of DTS to migrate data. | ||
Migrate data between ApsaraDB for Redis instances | DTS | Configure one-way data synchronization between ApsaraDB for Redis instances Note This solution uses the data synchronization feature of DTS to migrate data. |