Wednesday, September 24, 2008

Recover Deleted Linux files and Folders

Today, among all the load I had on my head, someone from my team happened to delete the data folder for oracle database server on one of our remote rack servers. I still remember all the pain I had setting oracle on this 64-bit Fedora 6 Core machine, with kernel incompatibilities and missing libraries. All in all, it took me two weeks to set it up correctly using the GUI from oracle install with an uprate of 1 mbps.

So in order to avoid doing it all over again, i decided to have a look at how i could restore deleted files and folders under linux. I knew that linux stored deleted files in trash when using GUI (Gnome or KDE) but through command line, it seems that the file was not recoverable using ext3 partitions other than looking at blocks and inodes one by one.

After loads of despair, i found out that PhotoRec was one of the best tool that was able to solve such problems. So here i go with this tool, trying to recover all my oracle database files and hoping that it will all be sorted out :(. With 24hours estimated time for completion, I really hope all my files will be restored. God bless !

No comments: