這裏用到的套件是ext3grep、系統必須默認的安裝上e2fsprogs-libs-1.39-23.el5e、2fsprogs-devel-1.39-23.el5、e2fsprogs-1.39-23.el5這些軟件
[root@localhost
~]
e2fsprogs-libs-1.39-23.el5
e2fsprogs-devel-1.39-23.el5
e2fsprogs-1.39-23.el5
[root@localhost
~]
-rw-r--r--
1 root root 236364 Oct 17 2011 ext3grep-0.10.2.
tar
.gz
[root@localhost
~]
[root@localhost
~]
[root@localhost
ext3grep-0.10.2]
[root@localhost
ext3grep-0.10.2]
[root@localhost
~]
total
2656
-rwxr-xr-x
1 root root 2709704 Oct 15 04:46 ext3grep
//www
.linuxidc.com這句是那個可執行文件
接下來演示一個補救的過程實例
[root@localhost
~]
[root@localhost
data]
[root@localhost
data]
[root@localhost
data]
[root@localhost
data]
[root@localhost
data]
[root@localhost
data]
[root@localhost
data]
[root@localhost
data]
[root@localhost
data]
[root@localhost
data]
[root@localhost
data]
[root@localhost
data]
data-disk
data-disk.ext3grep.stage1 data-disk.ext3grep.stage2 RESTORED_FILES
[root@localhost
data]
total
48
-rw-r--r--
1 root root 17 Oct 15 06:03 host.conf
-rw-r--r--
1 root root 187 Oct 15 06:03 hosts
-rw-r--r--
1 root root 161 Oct 15 06:03 hosts.allow
-rw-r--r--
1 root root 347 Oct 15 06:03 hosts.deny
drwx------
2 root root 4096 Oct 15 06:04 lost+found
-rw-r--r--
1 root root 1635 Oct 15 06:03
passwd
總結:這裏只能實現的是首次恢復的動作,並且不能有覆蓋的動作,這個是很久以前都知道的知識,在這裏做個筆記,以加深記憶!
連接
: http://blog.csdn.net/panfelix/article/details/41962093