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)

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • 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

        Activity

          People

            Unassigned Unassigned
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: