Documentation
¶
Overview ¶
This utility reseeds a target MongoDB database from a source replica set, then tails the change stream to reconcile new writes so the two stay in sync. go run experimental/replicate_mongo.go -src mongodb://root:password@localhost:27017/?replicaSet=rs0 -dst mongodb://root:password@192.168.100.21:27016/ -srcdb auth-gateway -dstdb auth-gateway -keep true
Click to show internal directories.
Click to hide internal directories.