Updated on 2025-07-22 GMT+08:00

Real-Time Disaster Recovery

For details about the supported databases and versions, see Supported Databases.

Only whitelisted users can use this function. To use this function, submit a service ticket. In the upper right corner of the management console, choose Service Tickets > Create Service Ticket.

Database Types

DRS supports disaster recovery (DR) management for the following types of databases.

Table 1 Database types

DR Direction

Data Flow

Service Database

DR Database

DR DB Instance Type

Current cloud as standby

MySQL->MySQL

  • On-premises databases
  • Databases on an ECS
  • Databases on other clouds
  • RDS for MySQL instances

RDS for MySQL instances

  • Single
  • Primary/Standby

Current cloud as active

MySQL->MySQL

RDS for MySQL instances

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL instances
  • Single
  • Primary/Standby

Current cloud as standby

MySQL->TaurusDB

  • On-premises databases
  • ECS databases
  • Databases on other clouds
  • RDS for MySQL instances

TaurusDB instances

Primary/Standby

Current cloud as standby

DDM -> DDM

DDM instances

DDM instance

-

Current cloud as active

DDM -> DDM

DDM instances

DDM instances

-

Current cloud as standby

TaurusDB->TaurusDB

TaurusDB instances

TaurusDB instances

-

Current cloud as active

TaurusDB->TaurusDB

TaurusDB instances

TaurusDB instances

-

Database Versions

Table 2 Database versions

DR Direction

Data Flow

Service Database Version

DR Database Version

Current cloud as standby

MySQL->MySQL

  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

Current cloud as active

MySQL->MySQL

  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x
  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

Current cloud as standby

MySQL->TaurusDB

  • MySQL 5.6.x
  • MySQL 5.7.x
  • MySQL 8.0.x

TaurusDB-MySQL 8.0

Current cloud as standby

DDM -> DDM

-

-

Current cloud as active

DDM -> DDM

-

-

Current cloud as standby

TaurusDB->TaurusDB

TaurusDB-MySQL 8.0

TaurusDB-MySQL 8.0

Current cloud as active

TaurusDB->TaurusDB

TaurusDB-MySQL 8.0

TaurusDB-MySQL 8.0

Network Preparations

DRS supports disaster recovery through a Virtual Private Network (VPN), Direct Connect, or public network. Table 3 lists the application scenarios of each network type and required preparations.

Table 3 Network types

Network Type

Application Scenario

Preparations

VPN

Disaster recovery from on-premises databases to cloud databases or between cloud databases across regions

Establish a VPN connection between your local data center and the VPC that hosts the destination database. Before disaster recovery, ensure that the VPN network is accessible.

For more information about VPN, see Getting Started with Virtual Private Network.

Direct Connect

Disaster recovery from on-premises databases to cloud databases or between cloud databases across regions

Use a dedicated network connection to connect your data center to VPCs.

For more information about Direct Connect, see Getting Started with Direct Connect.

Public network

Disaster recovery from on-premises databases or other cloud databases to destination databases.

To ensure network connectivity between the source and destination databases, perform the following operations:

  1. Enable public accessibility.

    Enable public accessibility for the source database based on your service requirements.

  2. Configure security group rules.
    • Add the EIPs of the disaster recovery instance to the whitelist of the source database for inbound traffic.
    • If destination databases and the DR instance are in the same VPC, they can communicate with each other by default. You do not need to configure a security group.
    NOTE:
    • The IP address on the Configure Source and Destination Databases page is the EIP of the DR instance.
    • If SSL is not enabled, backing up confidential data for disaster recovery is not recommended.
Table 4 Supported network types

DR Direction

Data Flow

VPC

Public Network

VPN or Direct Connect

Current cloud as standby

MySQL->MySQL

Not supported

Supported

Supported

Current cloud as active

MySQL->MySQL

Not supported

Supported

Supported

Current cloud as standby

MySQL->TaurusDB

Not supported

Supported

Supported

Current cloud as standby

DDM -> DDM

Not supported

Supported

Supported

Current cloud as active

DDM -> DDM

Not supported

Supported

Supported

Current cloud as standby

TaurusDB->TaurusDB

Not supported

Supported

Supported

Current cloud as active

TaurusDB->TaurusDB

Not supported

Supported

Supported