Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-939

Error restoring database "insertion error: EOF"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.0.6, 3.0.7, 3.2.0-rc0
    • Fix Version/s: 3.0.8, 3.2.0-rc1
    • Component/s: mongorestore
    • Labels:
      None
    • Environment:
      MacBook Pro (Retina, 15-inch, Mid 2015)
      Processor: 2,5 GHz Intel Core i7
      Memory 16 GB 1600 MHz DDR3
      OS X El Capitan
    • Backport Requested:
      v3.0
    • Sprint:
      Server Tools B (11/02/15)

      Description

      Hi!
      I am trying to restore freshly dumped `bson` file with a regular mongorestore command. Size of the file is 8.3GB
      I run a regular mongorestore command end up having “insertion error: EOF” message.

      mongorestore --host=api.komparu.dev --db komparu_product_dev --collection product dump/komparu_product_dev/product.bson
      2015-10-14T16:13:38.974+0200	checking for collection data in dump/komparu_product_dev/product.bson
      2015-10-14T16:13:38.977+0200	reading metadata file from dump/komparu_product_dev/product.metadata.json
      2015-10-14T16:13:38.977+0200	restoring komparu_product_dev.product from file dump/komparu_product_dev/product.bson
      2015-10-14T16:13:41.118+0200	Failed: restore error: komparu_product_dev.product: error restoring from dump/komparu_product_dev/product.bson: insertion error: EOF
      

      This happens with any host I have: local instalation of mongo, vagrant, and one on a remote server.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gabriel.russell Gabriel Russell
                Reporter:
                qstyler Konstantin Bodnia
              • Votes:
                0 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: