Comments on: How To Fix Oplog Restore Error: E11000 Duplicate Key Error Collection Using Percona Backup for MongoDB https://www.percona.com/blog/how-to-fix-oplog-restore-error-e11000-duplicate-key-error-collection-using-percona-backup-for-mongodb/ Tue, 04 Apr 2023 15:37:20 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: Gautam https://www.percona.com/blog/how-to-fix-oplog-restore-error-e11000-duplicate-key-error-collection-using-percona-backup-for-mongodb/#comment-10974034 Wed, 29 Mar 2023 12:57:37 +0000 https://www.percona.com/blog/?p=86425#comment-10974034 Could you please elaborate a bit about your situation? Because this error is completely based on scenario.

  1. Using PBM to restore it automatically mean using logical or physical backup?
  2. Are you trying to restore on same replicaSet? If yes does that replicaSet contains other database as well or collections?
  3. Are you trying to restore database or single collection?
]]>
By: Richard https://www.percona.com/blog/how-to-fix-oplog-restore-error-e11000-duplicate-key-error-collection-using-percona-backup-for-mongodb/#comment-10974033 Wed, 29 Mar 2023 04:13:13 +0000 https://www.percona.com/blog/?p=86425#comment-10974033 You had me really hoping — but I’m using PBM to restore automatically and I’m seeing that exact duplicate key error when restoring my database, which had no collection or database drops 🙁 I’m running out of ideas on how to fix it.

]]>