Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-427

More helpful error message when a user runs ./mongorestore without a dump/ folder

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.7, 3.3.11
    • Affects Version/s: None
    • Component/s: mongorestore
    • Labels:
      None
    • v3.2

      Right now the user gets

      [kyle@erf]$ ./mongorestore
      2014-12-01T14:17:51.355-0500	building a list of dbs and collections to restore from dump dir
      error scanning filesystem: error reading root dump folder: open dump: no such file or directory
      

      Given how likely it is for someone to just run the program without completely knowing what to do, we should additionally direct them to --help or to the documentation.

            Assignee:
            zach.snow Zach Snow
            Reporter:
            kyle.erf Kyle Erf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: