MOO-Cows

moo-wizzen Topic: [MOO-wizzen] Trashed DB recovery

Article #1163
Subject: [MOO-wizzen] Trashed DB recovery
Author: Luigi Fabio
Posted: 2/21/2004 05:20:09 PM

Folks, I have a very fine problem on my hands. A RAID array decided 
that it wanted some vacation and killed a MOO that had been running 
for quite some time - toghether with the backups for the last several 
months. I ran dd_rescue et al and I managed to get almost all the 
contents of the drive back - except for the inode of the directory in 
which the core  and the archive directory resided.
At this point I have two problems: first, all backups older than 3 
days are in bzip2 format, so there is no way I'll ever recover those. 
Fortunately, the .db.new is in text format, so I have been eyeball-
grepping the whole image (some 19GB) to get bits and pieces of the 
core back toghether. Did I mention that the volume was heavily 
fragmented, because the ext3 FS was four years old?
Now, what I did manage to put toghether is a core with the first 26 
objects of an old backup, the player list before the objs of a very 
recent db - possibly the latest - and the rest of the core apparently 
from the latest db... except that it curiously is lacking the last 60 
or so objects - even though the previous ones reference them and 
there seems to be no 'hole' between the last obj and #0:0.
Now, I got this hacked up db to a modicum of coherency, but of course 
I have dependency issues. Is there a faster way than going through 
the objs by hand to solve them?

Thanks - any pointers greatly appreciated, both for recovery of a 
'better' db and for solving the dependency issues.

Regards,
Luigi Fabio - lfabio@nospam

_______________________________________________
Moo-wizzen mailing list
Moo-wizzen@nospam
http://www.moo-cows.com/mailman/listinfo/moo-wizzen





MOO-Cows Home