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

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

    XMLWordPrintable

    Details

    • Type: Task
    • 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 Brody
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: