Do you ever need to download the production DB to your localhost for development purposes? Or just sync changes from one DB to another?
Well, all this can be done using Mingo’s Compare & Sync tool. You don’t need to write scripts or use the terminal mongodump / mongorestore functions, anymore.
Document comparison happens on the corresponding servers directly. The comparison creates a hash for each document and sends them back to Mingo. Mingo compares the hashes and tells you how many docs have been added, removed and updated.
Once the comparison has been finished, Mingo lets you choose the collections you want to synchronize. Before syncing, you are prompted to choose which documents to sync (added, updated, removed).
Once the source db, destination db and the collections to compare have been selected, you can save this comparison setup and reuse it in the future for faster synchronizing.
* The actual hashing may put high CPU load on the servers in case of large collections, so Mingo skips collections with more than 100k documents.
* Running Compare & Sync requires a local mongo instance.