Mongodb – How to validate mongodb backup and restore

mongodbmongodb-3.0mongodb-3.4

I am using mongodump to create a backup of the db based on some query params and mongorestore to restore the same in another mongodb in a diff environment.

How can I validate whether the dump created fetched all the records and also whether the restore of dump to the target db is done properly?

Best Answer

You should try this:

https://studio3t.com/

You can use "data synchronization" And if I remember correctly, you can validate data between 2 DB.

You can use it non-commercial use for free. Just download, and at the first start you can select between commercial and non-commercial use.

Also this: https://robomongo.org/