restoring from dump created via mongodump inflates the db

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.3
    • Component/s: Admin
    • None
    • ALL
    • Hide

      I used
      mongodump
      tar -czf ./dump.tar.gz ./dump
      (moved the archive to a new server with another instance)

      on the second server:
      tar -xzf ./dump.tar.gz
      mongorestore ./dump

      Show
      I used mongodump tar -czf ./dump.tar.gz ./dump (moved the archive to a new server with another instance) on the second server: tar -xzf ./dump.tar.gz mongorestore ./dump
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I attempted to restore a mongo backup from an archived dump. the restoration was successful but the db size grew from 4.5GB to 40GB.

      I used
      mongodump
      tar -czf ./dump.tar.gz ./dump
      (moved the archive to a new server with another instance)

      on the second server:
      tar -xzf ./dump.tar.gz
      mongorestore ./dump

            Assignee:
            Unassigned
            Reporter:
            nadav reichler
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: