Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5734

mongodump shouldn't export config database by default

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Trivial - P5 Trivial - P5
    • None
    • 2.0.0, 2.1.0
    • Tools
    • All

    Description

      Currently the mongodump tool exports the config database by default which is in the way of the standard dump -> restore flow. It seems very unlikely people would want to restore a config database by default, if only because it's extremely risky.

      Suggest not exporting it by default and add a flag to mongodump to include it if required. Alternatively a parameter to pass a list of databases that shouldn't be exported.

      Attachments

        Activity

          People

            Unassigned Unassigned
            remonvv Remon van Vliet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: