Using Extundelete in Linux to recover deleted files by mistake

Source: Internet
Author: User
First, before the experiment needs to know
1, Extundelete is a tool to restore the EXT3,EXT4 partition file, he will use the log information in the partition to try to recover the deleted files, but not every deleted file can be ensured to be restored, so the important file everyone still want to do backup. The following is a small experimental simulation file mistakenly deleted, using Extundelete for recovery
2, this experiment needs to prepare two hard disks, be careful not to install Extundelete to the hard disk where the file is mistakenly deleted
Second, start the test
1, this experiment needs to prepare two hard disks, in addition to the virtual machine original piece of hard disk, and then add a hard disk, add the completion of the restart effective

2. After partitioning the newly added disk with the FDISK command, format the mount using

Create an empty folder, mount the hard disk using

3, install the compilation environment gcc,gcc-c++ with Yum, need to set up a good yum warehouse

4. Install software environment Package with RPM

5. The Extundelete installation package uses shared folders to share to virtual machine Linux mounts from a host

6. Unzip the installation package to/OPT

7, switch to the/opt/extundelete-0.2.4 directory input./configure configuration

8. Create a folder in/ABC and delete

Delete Two of these

9. Immediately unlock the disk

10. Use Extundeleta tool to restore all

11, the current home directory will appear/recovered-files folder, there will be recovered files

12, you can re-mount the disk, copy the file back to use

This experiment is done

Using Extundelete in Linux to recover deleted files by mistake

Related Article

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.