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

Error restoring database "insertion error: EOF"

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.8, 3.2.0-rc1
    • Affects Version/s: 3.0.6, 3.0.7, 3.2.0-rc0
    • 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
    • Server Tools B (11/02/15)
    • v3.0

      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.

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            qstyler Konstantin Bodnia
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: