Overview
This guide provides suggestions and instructions on how to migrate Redis data. For details on how to migrate Memcached data, see How Do I Migrate Memcached Data?
Due to variations of Redis application environments and scenarios, migration solutions must be detailed to address actual requirements. The time required for data migration is related to the data volume, the location of source Redis data, and the network bandwidth. Record and evaluate the duration during the rehearsal phase.
DCS Redis 3.0, 4.0, 5.0, and 6.0 (professional edition) instances can be used for data migration. Analyze Redis commands (reference: Redis Command Compatibility) used by your service systems and verify the commands one by one during the rehearsal phase. For technical support, contact Huawei customer service.
- Data migration is an important and stringent task requiring high accuracy and timeliness. It varies depending on specific services and operation environments.
- Cases provided in this document are for reference only. Consider your service scenarios and requirements during actual migration.
- Some commands in this document contain instance passwords, which will be recorded in the operating system (OS). Ensure that the passwords are not disclosed and clear operation records in a timely manner.
| 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 single-node or master/standby Redis | √ | √ | √ | |
| Self-hosted proxy-based cluster Redis | √ | √ | √ | |
| Self-hosted 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 cloud Redis refers to Redis services provided by other cloud vendors.
- √: Supported. ×: Not supported.
Next Article: Migration Process
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.