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

mongodump: -d option should complain if the database doesn't exist

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tools
    • Labels:

      Description

      If you issue mongodump -d non_existent_database, you don't get an error.

      It's very easy to make a typo in the database name and have this result in not creating a backup, without any error.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: