How to restore Mongod ".wt" backup files into the another system?

409 Views Asked by At

I am supposed to restore a big mongo database on another system. I have a folder with about 12500 ".wt" files and some other files. I tried to use mongorestore:

mongorestore --uri mongodb://localhost:27017 /mongoBackupfiles

but for each file, the error is something like this:

don't know what to do with file "...\index-2215-3057564938218478932.wt", skipping...

I searched a lot but still couldn't find anything that help. I tried to restore the database on Windows and Linux Redhat but didn't get anything.

0

There are 0 best solutions below