Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3340

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

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 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 Unassigned
            Reporter:
            rohan.sharan@mongodb.com Rohan Sharan
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: