Using Extundelete to recover data that was mistakenly deleted

Source: Internet
Author: User

System Rhel 6.4

File system format: EXT4

Premise: Data that needs to be recovered is not corrupted.

Accidentally deleted the important data, there are pictures, the entire directory has 20G

Linux File Recovery (extundelete):

Unmount the disk (immediately) on which the file was mistakenly deleted to avoid being written to another file, occupying the inode, causing the file to be unrecoverable

Umount/dev/mapper/vg_data-lv_data yum-y Install e2fsprogs.x86_64 e2fsprogs-devel.x86_64 e2fsprogs-libs.x86_64 Tar- JXF extundelete-0.2.4.tar.bz2cd extundelete-0.2.4./configure && make && make INSTALLCD/ Huifuextundelete/dev/vg_data/lv_data--RESTORE-ALLCD recovered_files/--note: Here the recovered files are stored

File recovery succeeded. After successful recovery, randomly export some pictures to see if it is damaged, fortunately, these files are not corrupted.

.650) this.width=650; "alt=" J_0002.gif "src=" Http://img.baidu.com/hi/jx2/j_0002.gif "/>650" this.width=650; "alt= "J_0002.gif" src= "Http://img.baidu.com/hi/jx2/j_0002.gif"/>650) this.width=650; "alt=" J_0002.gif "src="/HTTP/ Img.baidu.com/hi/jx2/j_0002.gif "/>

This article from "Pengcheng-soy sauce bottle" blog, declined reprint!

Using Extundelete to recover data that was mistakenly deleted

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.