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. What is Data Transmission Service?.
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 data from a self-managed MongoDB database to an ApsaraDB for MongoDB instance
Standalone or replica set instance
Sharded cluster instance
Standalone instance
Replica set instance
Sharded cluster instance
Migrate data from a MongoDB database hosted on a third-party cloud to an ApsaraDB for MongoDB instance
Replica set or sharded cluster instance
Migrate data between ApsaraDB for MongoDB instances
Replica set instance
Migrate data from an ApsaraDB for MongoDB replica set instance to a sharded cluster instance
Standalone instance
Standalone or replica set instance
Migrate data between ApsaraDB for MongoDB instances of different Alibaba Cloud accounts
Standalone, replica set, or sharded cluster instance
Migrate data between ApsaraDB for MongoDB instances across regions
Migrate data from an ApsaraDB for MongoDB instance to a self-managed MongoDB database
Replica set instance
Data synchronization solutions
-
Available synchronization methods:
ImportantStandalone instances do not support data synchronization.
-
Use DTS to synchronize data between MongoDB databases.
ImportantDTS does not support synchronization for MongoDB 7.0 instances. Check Supported databases for compatibility.
-
MongoShake, an Alibaba Cloud tool, synchronizes data between MongoDB databases.
-
-
Synchronization methods by scenario:
Synchronization scenario
Synchronization tool
Documentation
Instance synchronization
DTS
Synchronize to an existing instance
MongoShake
Use MongoShake to implement one-way synchronization between MongoDB replica set instances