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

mongorestore should check for dubious user input

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • Tools
    • None

    Description

      specifically if the input and output directories are the same. main example:

      mongorestore --dbpath dump

      would mean "read from dump and write from dump" which doesn't make much sense (nothing terrible would happen probably, but better to explain to user)

      Attachments

        Activity

          People

            Unassigned Unassigned
            dwight@mongodb.com Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: