I have been doing an incremental backup using mongodump but whenever i am trying to restore using mongorestore I am getting "duplicate id error’ I know that it doesnt merge duplicate element …Is there any other way to avoid it without --drop the database.
Hey @raushan_sharma
For performing a entire dump and restore I think you would have to include the --drop
flag to avoid the duplicate _id errors. This is because restore is a full restore.
@raushan_sharma I’m not aware of mongodump having incremental backup. Is this a third party ‘mongodump’ ?