Data migration scheme of mongodb shard cluster

1. Requirements: remote Mongodb cluster data migration needs to be able to support full + incremental migration.

2. Environment: Mongodb version 3.2.10, sharding cluster mode. There are more than 200 million data.

3. Mongosync, that has tried 360 has found that the mongodb version is limited, and the source library does not support versions above 2.6 (probably because the driver does not support it).

ask God, is there any good, efficient and reliable migration plan?

Mar.02,2021

is the easiest way to deploy a replication set node for each slice, including config, offsite. When the data Synchronize is finished, switch the primary node to the new node, and then move the other nodes out of the replication set, and your cluster will be in the new computer room.

Menu