testdisk and photorec

Malamis

後輩
Joined
20 Apr 2008
Messages
119
Reaction score
4
I have just had one of those life re-appreciation moments, after something catastrophically horrible has ceased to happened to one of the linux systems that I am reluctantly responsible for.

The fundament is, there were sixty odd thousand ( I know :| ) files of significant importance (which user B had specifically said not to back up and I wasn't aware were are as important as they are) that suddenly vanished, and thankfully I managed to jump down the machine's throat and disconnect the partition before doing the same and worse to the user responsible.

By The Omnissiah's grace, these files are as I type being recovered (distressingly, without the directory tree but that can and will be sorted later), and I feel that I should share what I used to do so in case something truly horrible happens to some jref user's machine and they lose hope.

1. This worked solely because the partition involved is ext2 ( elderly unshakable server). If it had been ext3 the chances of success approach nil due to it's alternate method of operation. (As I have found out through several hours of unwanted research)
2.Secondly, system and user partitions were separate (made so shortly after I came to power as it happens <.<). Had they not been, the files would have been almost immediately overwritten by usual system operation.
3. thanks to 2. I was able to disconnect the partition without warping the IRC and FTP server that runs off the machine.
4. I used testdisk and photorec in roughly equal measure. They conveniently work in Windows too.

Not exactly the sort of thing to interest normal folk here, but maybe someone will remember these in their hour of need, as i've been there without moral, technical and emotional support and wouldn't wish it on a furry.

That is all <.<
 
WOW!!! That's awesome. I know that sometimes the registry has backups. It is good to have access to that link for such catastrophies... what I'm curious about is how it happened and if we should prevent that course of action... hehe.. was it an accidental directory failure? Or did you write over the files? Just curious. I would love to use Linux one day.
 
WOW!!! That's awesome. I know that sometimes the registry has backups. It is good to have access to that link for such catastrophies... what I'm curious about is how it happened and if we should prevent that course of action... hehe.. was it an accidental directory failure? Or did you write over the files? Just curious. I would love to use Linux one day.

The Moral of the Story is:
a. limit login times to when your user actually needs to use their machine ( we learned thisin the first year, but I'm yet to meet anyone who remembers that until after a humorous catastrophe)
b. publicly whip any user who gives their account details to someone else. preferably with terminated 10base5 cables.

As for the using of the Linux, you are crazy.
I would point you towards VMware (better) or Virtual box (buggy), they do free and half decent virtualisation platforms from which you can experiment in gateway drugs.

I mean operating systems.

But seriously, there are better things to do than learn *N*X, like amateur electronic engineering.
 
Back
Top Bottom