ubuntu恢复系统|Ubuntu恢复ext4误删除文件的例子

更新时间:2019-12-28    来源:Ubuntu    手机版     字体:

【www.bbyears.com--Ubuntu】

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


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

 

本文来源:http://www.bbyears.com/caozuoxitong/84011.html