I want to migrate my existing MongoDB 3.6 to ApsaraDB for MongoDB. What type of permission required for Migration.
Is there any steps defined for MongoDB migration
Mongodb – Permission Requirement to migrate MongoDB to ApsaraDB for MongoDB
mongodb
mongodb
I want to migrate my existing MongoDB 3.6 to ApsaraDB for MongoDB. What type of permission required for Migration.
Is there any steps defined for MongoDB migration
Best Answer
DTS allows you to migrate data from on-premises MongoDB to ApsaraDB for MongoDB. With the data change replication function, you can perform the migration without stopping services.
Migration types
For data migrations from on-premises MongoDB to ApsaraDB for MongoDB, DTS supports the following migration types: migrate existing data and replicate data changes. The features and restrictions of these migration types are as follows:
Migrate existing data
This migrates all existing data in the source instance to the target instance.
Replicate data changes
If you also choose to replicate data changes, the data changes made to the source instance during the migration will be synchronized to the target instance, so that eventually the source instance is dynamically synchronous with the target instance. This allows you to perform the migration while on-premises MongoDB remains operational.
Migration functions
MongoDB existing data migration supports:
MongoDB data change replication supports:
Migration procedure
The following describes the procedure of configuring a migration task from on-premises MongoDB to ApsaraDB for MongoDB.
Create accounts When configuring a migration task, you need to provide the accounts of the source and target instances. The accounts must have the permissions listed in the preceding Migration permissions section.
If the source or target MongoDB instance does not have an account with required permissions, create one as follows:
Parameter description:
You can check this link for more detailed information