Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6253

Describe authz exception for mongorestore with oplogReplay

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • mongodb-2.6, mongodb-3.0
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      As described in SERVER-19191 there is a bug in on the server that makes it impossible to do a mongodump/restore with --oplogReplay with the restore role. It is hard to fix so we are punting for 3.2.

      We should document the following workaround in the mongorestore docs.

      The only way to do a mongorestor with --oplogReplay on a system with access control enabled is to grant the __system role to the user restoring the data.

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            andreas.nilsson Andreas Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              8 years, 33 weeks, 5 days ago