Hi,

If you accidentally deleted your important file on Ext3, you are still lucky 
enough to retrieved the files as long as you remove immediately to avoid over 
writing data. Here are the steps to follow:

1. Get http://code.google.com/p/ext3grep/
2. Run debugfs to your disk then go to the directory where the file exist
    # debugfs $DEVICE 
    debugfs: cd /DELETED/DIR
    debugfs: ls -d
    .....
    <INODE_NUMBER> deleted_files_are_enclose_in_<_>
    INODE_NUMBER existing_files
    .....
3. Run ext3grep and restore the file with the deleted inode
    # ext3grep $DEVICE --restore-inode DELETED_INODE_NUMBER[,INODE_NUMBER]

HH,
grexk


      
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to