You can migrate data from a user-created MongoDB database to an ApsaraDB for MongoDB instance. Pay close attention to the limits of ApsaraDB for MongoDB.
|Deploy a replica set instance||The database version must match the storage engine. For more information, see MongoDB versions and storage engines.|
|Build replica set nodes||
|Restart a replica set instance||You must restart the instance in the ApsaraDB for MongoDB console or by calling the RestartDBInstance operation.|
|Migrate data from a replica set instance||Migrate the replica set of a user-created MongoDB database to ApsaraDB for MongoDB by using DTS or Migrate user-created MongoDB databases to Alibaba Cloud by using the built-in commands of MongoDB.|
|Back up the data of a replica set instance||Configure automatic backup for an ApsaraDB for MongoDB instance: Only physical backup is supported. Manually back up an ApsaraDB for MongoDB instance: Both physical backup and logical backup are supported.
Note If the database version of the instance is 3.2 or 3.4, the number of collections and indexes in the instance cannot exceed 10,000. Otherwise, physical backup may fail. If you want to increase this limit, we recommend that you upgrade the database version to 4.0 or 4.2. For more information, see Upgrade the database version of an ApsaraDB for MongoDB instance. Alternatively, you can select the database version 4.0 or 4.2 when you create the instance.
|Restore the data of a replica set instance||
|Modify parameters of a replica set instance||For security and stability, you are not allowed to modify certain parameters of a replica set instance. For more information, see Configure database parameters for an ApsaraDB for MongoDB instance.|