Hi,
To better understand the situation, could you provide more information on:
In general it is very important to have backups of MongoDB as they are usually the best way out of such situations.
Regards,
Amar
Hi
I deleted WiredTiger.wt, _mdb_catalog.wt, storage.bson files and cannot be found, only collection-**.wt and index-**.wt left. then I restart MongoDB, I only see an empty local collection. Is there a way to recover these without catalog data?
Unfortunately those files are important WiredTiger metadata files that cannot be rebuilt from other files. The best way to proceed if those files are deleted is to restore from a known good backup.
May I ask the reason why you deleted those files, and the events that lead to the deletion of those files? Please note that manually changing the content of MongoDB’s dbpath
directory is strongly not recommended since it can lead to unrecoverable data loss.
Best regards,
Kevin