We have a MongoDB community sharding cluster (4.2-prod env) that has 1 mongos, 1 conf ( 3 nodes as a replica set), and 2 shards( each of them has 3 nodes as a replicaset). We want to install stage env for prod env. We’ll also install the same arch in stage env, but we are searching for a solution about how we can feed stage env from prod env.
Is there architecture and a solution for the sharding cluster stage env that takes into account data synchronization for best practice? There could also be a bash method that doesn’t affect prod environments much.
Is there any recommendation?
Note : MongoDB doc says using mongodump and mongorestore are not good way and they say we must continue on enterprise ed. bc there are some methods that we can use for MongoDB 4.2 version :
Regards..