Unfortunately, I deleted my /home/ directory by running "rm -rf *" accidentally. The partition (/dev/sda3/) has an ext3 filesystem. After deleting the /home directory, I shutted down the PC and rebooted from a RIPLinux liveUSB, which has some tools that allowed me to recover some files. However, what I would like to do is to recover the directory tree structure, rather than the files, in order to see which files I deleted.
What I exactly want is the following:
I would like to have the output of "ls -lR /home/" before deleting all the files, but the problem is that now the /home directory is empty.
I hope I have explained clearly what I would like to do, I still have to improve my english.
Any help would be much appreciated!!
frostschutz wrote:If you were using slocate / updatedb on that system, 'locate /home' could give you a listing of the files it found in the last iteration. The only other thing you could try would be backup superblocks but most likely they'll already be updated to the new situation (home deleted)... especially if you did a clean shutdown and, later, another readwrite mount, so that's grasping at straws that are not there...
Rethink your backup strategy...
Users browsing this forum: No registered users and 19 guests