Uploaded image for project: 'MongoDB Command Line Tools'
  1. MongoDB Command Line Tools
  2. TOOLS-127

Add option to mongorestore to exclude the given database (or databases)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongorestore
    • Labels:

      Description

      Add an option like --excludeDbs that takes a list of database names and causes mongorestore to skip those dbs during the restore.

      This is useful when restoring a sharded cluster and you don't want to restore the config database.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-tools Backlog - Server Tools Team
                Reporter:
                spencer Spencer T Brody
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: