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

mongorestore error message is confusing

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: 3.0.0-rc10
    • Fix Version/s: None
    • Component/s: mongorestore
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: