Updated on 2022-02-21 GMT+08:00

Introduction to Migration with DCS

DCS for Redis provides the following migration modes:

  • Importing data from backup files: Download the source Redis data and then upload the data 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.

  • 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 migration is supported only if the DCS instance is created on the DCS console. 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.

Table 1 DCS data migration modes

Migration Mode

Source

Target: DCS

Single-Node and Master/Standby

Proxy Cluster

Redis Cluster

Importing backup files

OBS bucket: AOF files

×

OBS bucket: RDB files

Migrating data online

DCS for Redis: single-node or master/standby

DCS for Redis: Proxy Cluster

×

×

×

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

×

×

×

  • DCS for Redis refers to Redis instances provided by DCS
  • Self-hosted Redis refers to self-hosted Redis on the cloud, from other cloud vendors, or in on-premises data centers.
  • Other Redis refers to Redis services provided by other cloud vendors.
  • : Supported. ×: Not supported.