Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
12 KiB
Introduction to Migration with DCS
Migration Modes
DCS for Redis provides the following migration modes:
- Backup file import: The data source can be an OBS bucket or a Redis instance.
- Importing data from an OBS bucket: Download the source Redis data and then upload it to an OBS bucket in the same region as the target DCS Redis instance. DCS will read the backup data from the OBS bucket and migrate the data into the target instance.
This migration mode can be used for migrating data from other Redis vendors or self-hosted Redis to DCS for Redis.
- Importing data from a Redis instance: Back up the source Redis data and then migrate the backup data to DCS for Redis.
- Importing data from an OBS bucket: Download the source Redis data and then upload it to an OBS bucket in the same region as the target DCS Redis instance. DCS will read the backup data from the OBS bucket and migrate the data into the target instance.
- Migrating data online: If the source and target instances are interconnected and the SYNC and PSYNC commands are supported in the source instance, data can be migrated online in full or incrementally from the source to the target.
The following table describes data migration modes supported by DCS.

Data can be migrated only from DCS Redis instances or self-hosted Redis. After data migration, change the instance connection address to the target instance address.
Data migration is not supported if the DCS instance is created by another service, such as ROMA Connect, or by calling an API.
Migration Mode |
Source |
Target: DCS |
||
---|---|---|---|---|
Single-Node and Master/Standby |
Proxy Cluster |
Redis Cluster |
||
Importing backup files |
AOF files in OBS NOTE:
AOF files exported from Redis 4.0/5.0 instances and other instances with RDB compression enabled cannot be imported. |
√ |
√ |
× |
RDB files in OBS |
√ |
√ |
√ |
|
Migrating data online |
DCS for Redis: single-node or master/standby |
√ |
√ |
√ |
DCS for Redis: Proxy Cluster NOTE:
Proxy Cluster DCS Redis 3.0 instances cannot be used as the source, while Proxy Cluster DCS Redis 4.0 or 5.0 instances can. |
√ |
√ |
√ |
|
DCS for Redis: Redis Cluster |
√ |
√ |
√ |
|
Self-hosted Redis: single-node or master/standby |
√ |
√ |
√ |
|
Self-hosted Redis: proxy-based cluster |
√ |
√ |
√ |
|
Self-hosted Redis: Redis Cluster |
√ |
√ |
√ |
|
Other Redis: single-node or master/standby |
× |
× |
× |
|
Other Redis: proxy-based cluster |
× |
× |
× |
|
Other Redis: Redis Cluster |
× |
× |
× |