Tencent Cloud Data Transmission Service (DTS) is a data transfer service that integrates such features as data migration, sync, and subscription, helping you migrate your databases without interrupting your business and build a high-availability database architecture for remote disaster recovery through real-time sync channels. Its data subscription feature grants you real-time access to incrementally updated data in your TencentDB instance, so that you can consume such data based on your business needs. Currently, DTS for MongoDB supports data migration on different versions of MongoDB and in various network scenarios.
|Source instance||Source instance to be migrated from.|
|Target instance||Target instance to be migrated to, i.e., user-purchased TencentDB for MongoDB.|
|CVM-created instance||MongoDB service deployed on a CVM instance.|
|Public network-created instance||MongoDB service deployed on the public network.|
DTS supports data migration and data sync across a public network, CVM-created instances, Direct Connect gateways, VPN gateways, and CCN.
Notes on migration
Log in to the DTS Console and click Create Migration Task on the data migration page, select a Linkage Region, and click Buy at 0 USD.
- Currently, MongoDB database migration is free of charge.
- Please select the region with caution as it cannot be changed once the migration task is created.
On the "Set source and target databases" page, select MongoDB as the source database type, and specify instance and account information.
Before migration, please create a read-only account for the source instance; otherwise, the migration verification will fail.
Test the connectivity between the source and target instances.
On the "Set migration options and select migration objects" page, set migration options and select migration objects (you can select some tables).
On the "Verify task" page, verify the migration task and click Start Task.
After the verification is passed, return to the data migration list. After the incremental sync is 100% complete, click Complete in the "Operation" column to finish the migration task.