-
Type: Question
-
Resolution: Done
-
Priority: 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?