Skip to content

A simple tool to recover the removed collection/document in mongodb

License

Notifications You must be signed in to change notification settings

aaashun/mongorecover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

This is a simple tool for recovering deleted bson document from mongodb's db file

if you execute db.collection.remove() mistakenly, you can try this tool to recover the deleted records.

the following is the recommended steps:
    1. shutdown mongodb quickly
    2. copy the db files(e.g /data/db/xxx.3) to a safe directory
    3. execute mongorecover
        python ./mongorecover.py {safe-directory}/xxx.3

this program has saved me, hope it works for you

About

A simple tool to recover the removed collection/document in mongodb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages