Help Center/ GeminiDB/ GeminiDB Redis API/ Working with GeminiDB Redis API/ Data Migration/ Migrating the Alibaba Cloud Database Redis/Tair To GeminiDB Redis
Updated on 2025-09-04 GMT+08:00

Migrating the Alibaba Cloud Database Redis/Tair To GeminiDB Redis

This section describes how to migrate Alibaba Cloud databases Redis or Tair to GeminiDB Redis.

Migration Principles

  • The data migration function of the Alibaba Cloud data migration tool DTS is used to migrate data from Alibaba Cloud Redis to other Redis services. This tool avoids the restrictions of shielding the sync and psync commands of Alibaba Cloud Redis and migrates data from Alibaba Cloud Redis to Huawei Cloud GeminiDB Redis.

Usage Notes

  • The source end on Alibaba Cloud needs to communicate with the destination end on Huawei Cloud. Ensure that a private line is enabled or that binding a public IP address is performed.
  • The Alibaba Cloud DTS data migration function is charged in real time. Before using this function, ensure that your Alibaba Cloud account balance is sufficient.
  • The Huawei Cloud GeminiDB Redis capacity must be greater than or equal to the memory capacity of the Alibaba Cloud Redis database.
  • Ensure that the security groups of the source and destination databases are configured correctly.
  • Some Redis databases on Alibaba Cloud are special. For example, Tair hybrid storage does not support online full and incremental migration. You can complete the migration by scanning all the data.

Preparations

  • Migrating data using a public IP address
    • Purchase a Huawei Cloud EIP in advance. The bandwidth must be greater than the source database traffic.
    • Bind the EIP to a Huawei Cloud GeminiDB Redis node.
    • When configuring DTS, ensure that the destination database is connected through a public IP address.
  • Migrating data using a private line
    • Purchase an Alibaba ECS in advance to ensure that it can connect to Huawei Cloud GeminiDB Redis.
    • Configure data forwarding to forward the traffic received by the local port to the destination end, implementing migration from Alibaba Cloud Redis to GeminiDB Redis.

      ssh -g -L (Forwarding port): (LB IP address of Huawei Redis): (Huawei Redis port) -N -f root@ (Local ECS IP Address)

    • When configuring DTS, ensure that the destination database is connected through a self-built ECS database.

Procedure