1.extundelete是什么
2.extundelete恢复数据
2.1 epel 仓库安装
yum install extundelete -y
.............................................................................
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : extundelete-0.2.4-6.el7.x86_64 1/1
Verifying : extundelete-0.2.4-6.el7.x86_64 1/1
Installed:
extundelete.x86_64 0:0.2.4-6.el7
Complete!
2.2 源码安装extundelete
下载exeundelete
[root@localhost ~]# wget http://zy-res.oss-cn-hangzhou.aliyuncs.com/server/extundelete-0.2.4.tar.bz2
--2018-11-30 23:45:40-- http://zy-res.oss-cn-hangzhou.aliyuncs.com/server/extundelete-0.2.4.tar.bz2
Resolving zy-res.oss-cn-hangzhou.aliyuncs.com (zy-res.oss-cn-hangzhou.aliyuncs.com)... 47.110.177.95
Connecting to zy-res.oss-cn-hangzhou.aliyuncs.com (zy-res.oss-cn-hangzhou.aliyuncs.com)|47.110.177.95|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108472 (106K) [application/octet-stream]
Saving to: ‘extundelete-0.2.4.tar.bz2’
100%[====================================================>] 108,472 --.-K/s in 0.06s
2018-11-30 23:45:40 (1.66 MB/s) - ‘extundelete-0.2.4.tar.bz2’ saved [108472/108472]
安装所需要的依赖包,并编译安装
[root@localhost ~]# yum -y install bzip2 e2fsprogs-devel e2fsprogs gcc-c++ make
Loaded plugins: fastestmirror
Loading mirror speeds f