linux 下rm -rf 后的恢复

来源:互联网 发布:js 导出excel 编辑:程序博客网 时间:2024/05/02 00:57

linux下如果用rm -rf来删除文件和目录,后果很严重。

上个星期就不小心将/u01整个都删除了,查找资料可以通过两种软件来恢复,分别是ext3grep和extundelete。

 

ext3grep的例子:

http://info.it.hc360.com/2011/11/150817610891.shtml

 

官网:http://carlo17.home.xs4all.nl/howto/undelete_ext3.html

 

不过我在用ext3grep来恢复的时候,只恢复了半数的数据,不知道是不是由于数据量太大的原因。

 

extundelete恢复的效果可能比ext3grep好点,还没有做过测试。

 

extundelete的官网:

http://sourceforge.net/projects/extundelete/

原创粉丝点击