ApsaraDB for Redis provides multiple data migration solutions by using Data Transmission Service (DTS) to meet data migration requirements in diverse scenarios. The solutions include migrating data from self-managed Redis databases to ApsaraDB for Redis instances, migrating data between ApsaraDB for Redis instances, and migrating data from a third-party platform to Alibaba Cloud.
DTS
Alibaba Cloud DTS is a real-time data streaming service that integrates data migration, data subscription, and data synchronization into a single comprehensive service to ensure 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 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.
For information about how to create an account for an ApsaraDB for Redis instance and grant the required permissions to the account, see Create and manage database accounts.
Tool | Migration 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 | Use DTS to 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. | ||
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. |