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

Describe authz exception for mongorestore with oplogReplay

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • mongodb-2.6, mongodb-3.0
    • None
    • manual
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 19 weeks, 2 days ago