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

mongodump shouldn't export config database by default

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0, 2.1.0
    • Fix Version/s: None
    • Component/s: Tools
    • Labels:
    • Environment:
      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: