mongorestore should check for dubious user input

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Tools
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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)

            Assignee:
            Unassigned
            Reporter:
            Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: