Live Migration from one cluster to another cluster

Hi Team,

I am planning to do live migration from one cluster to another cluster. My new cluster has some collection in it. Can you suggest some way to perform live migration.

You can try mongosync

2 Likes

Thanks for your comment. But we are having sharded collections . Do mongosync support sharded collection migration

Yes, it does. Specifically, from Sharded to Sharded and from a Replica Set to Sharded. https://www.mongodb.com/docs/cluster-to-cluster-sync/current/reference/api/start/#sharding-parameters - this will help. Note that mongosync requires the destination cluster to be empty right now, but if you reach out to the Support team, they might be able to help (there are some internal flags that can relax the restriction depending on your specific scenario)