Blogs >> Technology >>
Undeleting deleted files from ext2 file system in Linux
Linux is one of the most used open-sourced operating systems that has carved its own niche among its faithful users. It is fast, easy-to-use, and reliable. Also, it is part of the LAMP (Linux, Apache, MySQL, PHP) stack that provides a lot of advantages to the developers and users. However, it has one drawback that it does not have a Recycle Bin like Windows systems. So, if a file is deleted you need to perform few tasks to finally recover the deleted file. However, if you are unable to recover the deleted file then you should use a third-party Linux data recovery software to perform Linux recovery.
Consider a scenario wherein you have an ext2-based Linux system. In this, you have accidentally deleted some files. Now, you want to recover the deleted files.
Resolution:
To resolve this situation, you should perform data recovery of Linux system. To do this, you should perform the following steps:
· First of all, you should determine the partition from the file was deleted. For this, you should use the pwd command in the shell console to know the working directory.
· You should unmount the current directory using the unmount command. Because of this, the original file would not be overwritten while recovering it.
· You should use the debugfs command. This command enables you to rectify the problems without causing a system crash or restart.
· You should use the isdel command. This command would enlist all the files that were deleted on the file system. Please note that this process may take some time to get completed.
· You should use the dump filename command. This command would write all the mentioned files to the current partition you are working in.
· Now, restart the system. The recovered files will be at the specified location.
However, if you still are not able to recover the deleted files, then you should use a third-party Linux data recovery software to do the needful. Such ext2 recovery tools are read-only in nature and are able to perform data recovery of Linux systems using fast yet sophisticated scanning algorithms.
Stellar Phoenix Linux Data Recovery is a Linux recovery software that is able to recover lost, formatted, or deleted files from various file systems such as ext2, ext3, ext4, FAT32, FAT16, and FAT12. In addition, this ext3 recovery tool is supported by various Linux distributions such as Red Hat, SUSE, Debian, Caldera, Mandrake, Sorcerer, TurboLinux, Slackware, Gentoo, etc. Also, it recovers data from various types of hard drives such as SCSI, SATA, EIDE, and IDE. This ext4 recovery tool is compatible with Windows 7, Vista, Server 2003, XP, and 2000.
Consider a scenario wherein you have an ext2-based Linux system. In this, you have accidentally deleted some files. Now, you want to recover the deleted files.
Resolution:
To resolve this situation, you should perform data recovery of Linux system. To do this, you should perform the following steps:
· First of all, you should determine the partition from the file was deleted. For this, you should use the pwd command in the shell console to know the working directory.
· You should unmount the current directory using the unmount command. Because of this, the original file would not be overwritten while recovering it.
· You should use the debugfs command. This command enables you to rectify the problems without causing a system crash or restart.
· You should use the isdel command. This command would enlist all the files that were deleted on the file system. Please note that this process may take some time to get completed.
· You should use the dump filename command. This command would write all the mentioned files to the current partition you are working in.
· Now, restart the system. The recovered files will be at the specified location.
However, if you still are not able to recover the deleted files, then you should use a third-party Linux data recovery software to do the needful. Such ext2 recovery tools are read-only in nature and are able to perform data recovery of Linux systems using fast yet sophisticated scanning algorithms.
Stellar Phoenix Linux Data Recovery is a Linux recovery software that is able to recover lost, formatted, or deleted files from various file systems such as ext2, ext3, ext4, FAT32, FAT16, and FAT12. In addition, this ext3 recovery tool is supported by various Linux distributions such as Red Hat, SUSE, Debian, Caldera, Mandrake, Sorcerer, TurboLinux, Slackware, Gentoo, etc. Also, it recovers data from various types of hard drives such as SCSI, SATA, EIDE, and IDE. This ext4 recovery tool is compatible with Windows 7, Vista, Server 2003, XP, and 2000.
|