Migrate and synchronize data to, from, and between ApsaraDB for MongoDB instances using DTS, MongoDB native tools, or MongoShake.
Automatic minor version upgrades
If an instance's minor version expires or is not on the maintenance list, the system automatically upgrades it to the latest version when you perform the following operations. This upgrade ensures better performance and stability.
Limitations
Standalone instances do not support incremental data migration or synchronization.
Data migration solutions
-
Available migration methods:
ImportantStandalone instances do not support incremental data migration.
-
Data Transmission Service (DTS) supports full and incremental migration without service interruptions. Data Transmission Service (DTS).
ImportantDTS does not support migration for MongoDB 7.0 instances. Check Supported databases for compatibility.
-
Use mongodump and mongorestore for full data migration.
-
Migrate cloud data to a self-managed database using physical or logical backup files.
-
-
Migration methods by scenario:
Migration scenarios
Source database architecture
Documentation
Migrate a self-managed MongoDB database to ApsaraDB for MongoDB
Standalone or replica set
Sharded cluster
Standalone
Replica set
Sharded cluster
Migrate a third-party cloud database to ApsaraDB for MongoDB
ReplicaSet or sharded cluster
ReplicaSet or sharded cluster
Single node or ReplicaSet
Migrate a Huawei Cloud document database to ApsaraDB for MongoDB using DTS
ReplicaSet
Migrate data between ApsaraDB for MongoDB instances
Replica set
Migrate data from an ApsaraDB for MongoDB replica set instance to a sharded cluster instance
Single node
Serverless
Single node or ReplicaSet
Migrate an ApsaraDB for MongoDB instance across Alibaba Cloud accounts
Single node, ReplicaSet, or sharded cluster
Migrate data from ApsaraDB for MongoDB to a self-managed MongoDB database
ReplicaSet
Data synchronization solutions
-
Available synchronization methods:
ImportantStandalone instances do not support data synchronization.
-
Use DTS to synchronize data between MongoDB databases. Notes and limits on data synchronization when the source database is a MongoDB database.
ImportantDTS does not support synchronization for MongoDB 7.0 instances. Check Supported databases for compatibility.
-
Cloud disaster recovery synchronizes data between MongoDB databases.
-
MongoShake, an Alibaba Cloud tool, synchronizes data between MongoDB databases.
-
-
Synchronization methods by scenario:
Synchronization scenario
Synchronization tool
Documentation
Instance synchronization
DTS
Synchronize to a new instance
N/A
Synchronize to an existing instance
MongoShake
Use MongoShake to implement one-way synchronization between MongoDB replica set instances