Updated on 2025-09-26 GMT+08:00

Migration Solution

This section describes how to migrate services to a GeminiDB Redis instance. If you have any questions about the migration, choose Service Tickets > Create Service Ticket in the upper right corner of the console to get technical support.

Usage Notes

Cloud services such as Alibaba Cloud Tair (Redis® OSS-Compatible) and TencentDB for Redis cannot use Huawei Cloud DRS for data migration due to the following factors:

  • Some self-developed Redis-like databases are not compatible with the PSync protocol.
  • Architecture restrictions: For many cloud vendors, the proxy component is added between users and Redis. PSync is not supported due to the proxy.
  • Security restrictions: In native Redis, fork() is used over PSync, which causes memory expansion, user request delay increase, and even out of memory.
  • Business strategy: A large number of users use RedisShake to migrate services from the cloud or change the cloud, so PSync is shielded.

Migration Tool

  • Data Replication Service (DRS) is used for full and incremental data migration while ensuring data security.
  • Redis-Shake tool: is an open-source migration tool that supports migration modes such as full scanning (rump), data restoration (restore), and incremental synchronization (sync). You can download the tool to an ECS and use CLI to facilitate migration.

Required Permissions

  • Ensure that the database port is enabled in the security group of the GeminiDB Redis instance.

Migration Scenarios

Table 1 Migration scenarios

No.

Source

Destination

Migration Solution

1

Alibaba Cloud Tair (Redis® OSS-Compatible)

GeminiDB Redis

Migration from Tair (Redis OSS-Compatible) to GeminiDB Redis API

2

Redis

GeminiDB Redis

Migrating Data from Redis to GeminiDB Redis API Using Redis-Shake

3

RDB file

GeminiDB Redis

(Recommended) Importing Data to Restore RDB Files to a GeminiDB Redis Instance

4

Kvrocks

GeminiDB Redis

Migrating Data from Kvrocks to GeminiDB Redis API

5

Pika

GeminiDB Redis

Migrating Data from Pika to GeminiDB Redis API

6

SSDB

GeminiDB Redis

Migrating Data from SSDB to GeminiDB Redis API

7

LevelDB

GeminiDB Redis

Migrating Data from LevelDB to GeminiDB Redis API

8

RocksDB

GeminiDB Redis

Migrating Data from RocksDB to GeminiDB Redis API

9

AWS ElastiCache for Redis

GeminiDB Redis

Migrating Data from Amazon ElastiCache for Redis to GeminiDB Redis API