I would like to use
mongodump for regular backups. I would like to only keep a new backup if something changed compared to the last. Something as simple as
cmp file1 file2 would do the trick.
However, even if nothing in the database changed, running
mongodump two times gives two different outputs since properties of BSONs are not ordered by default.
I would like to request that two subsequent
mongodumps on a database which did not change in any way produce the exact same output. I would have loved to contribute a pull request myself, but sadly I do not know Go.