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

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • mongorestore

    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

              backlog-server-tools Backlog - Server Tools Team
              spencer@mongodb.com Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: