Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27732

Copy the /data/mongodb directory

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.1
    • Component/s: WiredTiger
    • None

      Is it possible to copy the /data/mongodb directory that contains * .wt files and start a new MongoDB installation with this directory?

      I wanted to try.. But I had errors during startup like :

      WiredTiger error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 267
      file:WiredTiger.wt, connection: This may be due to the database files being encrypted, being from an older version or due to corruption on disk
      WT_PANIC: WiredTiger library panic
      wt: encountered an illegal internal value

      So solutions are to make a db.copy or a dump / restore?

            Assignee:
            Unassigned Unassigned
            Reporter:
            PM Pierre MOELO [X]
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: