Add flag to mongodump/mongorestore that allows skipping of collections with permissions issues

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongodump, mongorestore
    • None

      Problem

      Typically mongodump and mongorestore fail if they encounter a collection they cannot export or restore (for example, TOOLS-3329). This sometimes necessitates complex workarounds. We can instead provide clients a flag likeĀ skipAuthErrors to continue the dump/restore, and just print a summary of collections that had problems

      Solution & Acceptance Criteria

      • Add a new flag to allows for this behavior
      • Add the flag to the public documentation

            Assignee:
            Unassigned
            Reporter:
            Rohan Sharan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: