Why?!!!

*sigh*

Why is it that you can spend an hour trying to do something such as… oh, I don’t know… restoring a corrupt Subversion database, you don’t have any success in an hour’s work, but once you get home you manage it in about five minutes? Not that it’s ever happened to me, of course ;-)

Seriously though, for future reference (for me), the command to restore a Subversion Berkeley DB is:

svnadmin recover /path/to/repository

NOT — and I want to make this absolutely clear — NOT this command:

svnadmin recover /path/to/repository/db

Because, you see, that second command will not work. It will just give you a strange error message about the version of the repository. Which is not good, and makes you waste an hour looking round various forums trying to upgrade the thing when it’s absolutely unnecessary…

Posted on March 29, 2007, in Uncategorized. Bookmark the permalink. 5 Comments.

  1. oh dear,

    But glad it all worked out in the end

  2. Yeah, it was just one of those things! I think sometimes taking a break, clearing your head and then coming back to a problem is the best thing. Ah well, lesson learned, which is good!

  3. Berkeley being subversive? Has he changed that much? Do say hello to him when you see him next …

  4. I must introduce you to the philosophy of Teaology. The idea is that to banish stress, all that is really needed is a good cup of tea. Allowing the tasty hot stuff to fill your insides will instantly bring on a calming effect that renders all your worldly problems irrelevant and not worth worrying about.

    Drink tea, stay calm, save the world.

  1. Pingback: Command Line Warriors » Blog Archive » This Week on the Command Line: Bring back CD-RWs but not the draft, also choose your dessert carefully!

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 )

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

Follow

Get every new post delivered to your Inbox.

Join 225 other followers