Recovering the DB

FacebookTwitterShare

 

And so it begins: this is what greeted me when I started eXist after, apparently, mucking about in expathrepo when I wasn’t supposed to. What follows is basically a screenshot diary of the recovery process–I’m not sure I really want to revisit it, but perhaps I’ll come back and add a narrative later…

ss14
Yuck. But click into the Java Client, which still works, and you can do the repairs.

ss15 ss16

ss17
I think the backup at this point didn’t make much difference. Always back stuff up!
ss18
First attempt at repairing didn’t work because the expathrepo directory still existed and therefore couldn’t be rebuilt.
ss19
Renaming expathrepo to badbadbad so it can be rebuilt
ss20
So many thanks to the twitterverse!
ss21
The repair is working!
ss22
Repair is done
ss23
A new expathrepo directory–now I can delete the corrupted part
ss24
Aaaand, we’re back!

Leave a Reply

Your email address will not be published. Required fields are marked *