Recovering the DB

 

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s