Data disaster recovery solutions

更新时间:
复制 MD 格式

To ensure high reliability and data security, ApsaraDB for MongoDB provides two solutions: multi-zone disaster recovery and geo-disaster recovery. You can choose the solution that best suits your requirements.

Multi-zone Disaster Recovery

Note

Standalone instances do not support multi-zone disaster recovery. You can migrate data to a replica set or sharded cluster instance running MongoDB 4.2 or earlier. For more information about the migration method, see Perform a full data migration from a standalone ApsaraDB for MongoDB instance to an ApsaraDB for MongoDB instance of any architecture.

Multi-zone disaster recovery deploys the nodes of a replica set instance or the components of a sharded cluster instance across three different zones in the same region. If a zone becomes unavailable due to factors such as a power or network failure, the high availability (HA) system automatically triggers a switchover. This process ensures the availability and data security of the instance.

Note

Instance type

Node deployment policy

Replica set instance

副本集节点部署策略

Sharded cluster instance

分片集群节点部署策略

Geo-disaster recovery

You can create two identical ApsaraDB for MongoDB instances in different regions. Then, you can use Data Transmission Service (DTS) to implement geo-disaster recovery for the ApsaraDB for MongoDB instances and ensure data consistency. If the primary instance fails, you can switch your service traffic to the disaster recovery instance to quickly restore services. To create a MongoDB instance, see Create an instance.

For more information, see the following documents:

Best practices

Best practices for ApsaraDB for MongoDB data security