Migration Tools and Schemes
Migration Tools
| Tool/Command/Service | Feature | Description |
|---|---|---|
| DCS console | Supports online migration (in full or incrementally) and backup migration (by importing backup files) with intuitive operations. |
|
| redis-cli |
| - |
| redis-port |
| Some cloud vendors do not support RDB file export by using redis-port. In this case, download backup files (in RDB format) by using the backup and restoration function provided by the management console of the relevant vendor, and import the files to HUAWEI CLOUD DCS. |
| Rump | Supports online migration between DBs of an instance or between DBs of different instances. | Rump does not support incremental migration. Stop services before migrating data. Otherwise, keys might be lost. For details, see Online Migration with Rump. |
| redis-shake | An open-source tool that supports both online and offline migration. | redis-shake is suitable for migrating Redis Cluster data. |
| Self-developed migration script | Flexible and can be adjusted as required. | - |
Migration Schemes
Self-hosted Redis refers to self-hosted Redis on HUAWEI CLOUD, in another cloud, or in on-premises data centers.
| Scenario | Tool | Use Case | Description |
|---|---|---|---|
| From self-hosted Redis to DCS | DCS console |
| - |
| redis-cli | - | ||
| - | |||
| redis-port | - | ||
| redis-cli and redis-port | - | ||
| redis-shake | - | ||
| Between DCS instances | DCS console | Migrate data from an earlier-version DCS Redis instance to a later-version DCS Redis instance, for example, from a DCS Redis 3.0 instance to a DCS Redis 4.0 or 5.0 instance.
| Attempts to migrate data from a later-version Redis instance to an earlier-version Redis instance are not recommended because they will fail due to data compatibility issues between different Redis versions. |
| Migrate Redis data between regions, for example, from CN South-Guangzhou to CN North-Beijing1. For details, see Backup Migration Between Regions or Redis Versions. | The SYNC and PSYNC commands are disabled by default for DCS Redis instances. These commands are enabled for online migration within a region, and remain disabled for online migration between regions. Therefore, you can only use backup migration when migrating DCS Redis instance data between regions. | ||
| Migrate Redis data from one HUAWEI CLOUD account to another.
| - | ||
| From another cloud to DCS | DCS console |
| If online migration is required, contact the O&M personnel of another cloud to enable the SYNC and PSYNC commands. |
| Rump | - | ||
| redis-cli and redis-port | Codis Migration from Another Cloud with redis-cli and redis-port | - | |
| redis-shake | - | ||
| From DCS to self-hosted Redis | DCS console | You can migrate data online from a DCS Redis instance to your self-hosted Redis by using the DCS console. |
Last Article: Migration Process
Next Article: Migrating Data from Self-Hosted Redis to DCS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.