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

mongorestore error message is confusing

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.0.0-rc10
    • Component/s: mongorestore
    • None

      On trying to restore against a sharded cluster, I ran mongorestore and got the following error message:

      2015-02-24T12:50:47.149-0500 Failed: cannot do a full restore on a sharded system

      The reason for this error - as I found by looking through the source - was that you need to specify the database when doing a restore against a sharded cluster. It would be helpful if the error message is clear about this.

            Assignee:
            Unassigned Unassigned
            Reporter:
            adinoyi.omuya@mongodb.com Adinoyi Omuya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: