Is there a way for mongorestore to replace the records existing in the database instead of skipping it which is the default behavior ?
I\'m currently using the lates
If you have a small collection you could always:
This switches the precedence to your dump file instead of to the _ids in the DB.