[opensuse] Recover stupidly deleted files
I'm using Suse 11.0. (reiserfs file system) I stupidly deleted an important directory and it's backup. I used "reiserfsck --rebuild-tree" to try to recover the directory and files. It succeeded in recovering many files and storing them in a "lost and found" file. Most of the .pdf and .mp3 files were rebuilt in tact, but thousands of files are simply unidentifiable binary files. I'm guessing they're mostly Open Office documents since that was the majority of what was lost. I also tried Reiserfs File Recovery 1.0 which proved to be of little help. Any hints on anything that might either unscramble the files from reiserfsck, or do a better job of recovering files? Thanks, Regis -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday January 27 2009, Regis Matejcik wrote:
I'm using Suse 11.0. (reiserfs file system) I stupidly deleted an important directory and it's backup. ... but thousands of files are simply unidentifiable binary files. I'm guessing they're mostly Open Office documents since that was the majority of what was lost.
...
Any hints on anything that might either unscramble the files from reiserfsck, or do a better job of recovering files?
If part of the problem is identifying the files, the "file" command does that pretty well, though it doesn't know 100% of all file formats out there, of course. The "file" command is in package "file".
Thanks,
Regis
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jan 27, 2009 at 2:33 PM, Regis Matejcik
I'm using Suse 11.0. (reiserfs file system) I stupidly deleted an important directory and it's backup. I used "reiserfsck --rebuild-tree" to try to recover the directory and files. It succeeded in recovering many files and storing them in a "lost and found" file. Most of the .pdf and .mp3 files were rebuilt in tact, but thousands of files are simply unidentifiable binary files. I'm guessing they're mostly Open Office documents since that was the majority of what was lost.
I also tried Reiserfs File Recovery 1.0 which proved to be of little help.
Any hints on anything that might either unscramble the files from reiserfsck, or do a better job of recovering files?
Thanks,
Regis Regis,
The first thing you need to do is preserve a copy of the filesystem.
Then you can figure out how to recover from there.
You will need a drive with enough freespace to hold a full copy of the
problem filesystem.
Then do:
dd if=/dev/sdaN of=
participants (3)
-
Greg Freemyer
-
Randall R Schulz
-
Regis Matejcik