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

mongodump shouldn't dump the whole database directly

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 0.9.7
    • Tools
    • None

    Description

      Currently running mongodump without any arguments dumps all the databases. This could lead to accidental dumping, something which could be a problem if there is a large amount of data.

      Users coming from the MySQL world would expect mongodump to work in a similar way to mysqldump in that you must pass the argument `--all` or `-A` to dump all databases, and that calling the program without any arguments would show the help message.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            digitala Phillip Oldham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: