How to replace mongodb wt files?

646 Views Asked by At

I took a backup from my mongodb files located in /var/lib/mongodb, and I migrated to a new ubuntu server.

I tried moving my old files in dbpath directory but mongodb stopped working.

How can I add my old .wt files in new server without crashing?

Thanks in advance.

0

There are 0 best solutions below