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

mongorestore error message is confusing

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Gone away
    • 3.0.0-rc10
    • None
    • mongorestore
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: