Ubuntu 恢复 ext4 误删除文件

凌晨的时候,小手一抖,格式化了一块历史备份磁盘,那就恢复一些重要数据吧:

aptitude install extundelete

#恢复/dev/sdc1中所有数据
extundelete /dev/sdc1 --restore-all 

#恢复/dev/sdc2中的归档目录
extundelete /dev/sdc2 --restore-directory /archive

#恢复/dev/sdc2中的密码文件
extundelete /dev/sdc2 --restore-files /oral/passwd
文章作者: 若海; 原文链接: https://www.rehiy.com/post/107/; 转载需声明来自技术写真 - 若海

添加新评论