January 25, 2003

Anybody know anything about getting data out of corrupt Berkeley Databases?
If so, I could use your help

After raving about Movable Type for so long, I ran into my first problem with it, and it's a bad one. The Berkeley database that my blog entries are in got corrupted somehow :-(. My bad for not having a recent backup, and for not having switched over to MySQL. But here I am, and if you have any idea of what I can do to recover my data, please email me at Geodog at cyberdude dot com

Here is what I have tried to date, with the results:


[mech db]$ db_recover -V
Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)

[mech db]$ db_recover -cv | more
db_recover: Recovery complete at Sun Jan 26 02:52:11 2003
db_recover: Maximum transaction id 80000000 Recovery checkpoint [0][0]

[mech db]$ db_verify entry.db
db_verify: Page 27: Invalid prev_pgno 183
db_verify: Page 171: Invalid next_pgno 183
db_verify: DB->verify: entry.db: DB_VERIFY_BAD: Database verification failed

[@mech db]$ db_dump -p entry.db
VERSION=3
format=print
type=btree
db_dump: DB->stat: DB_PAGE_NOTFOUND: Requested page not found


Thanks in advance for any help you can give me.

This section hand entered by Tim Bishop

Posted by Geodog at January 25, 2003 08:40 PM | TrackBack
Comments

My apologies, but my web hoster has turned off commenting, due to a flood of obscene spam bringing the server to its knees. I hope to have this weblog transitioned over to Wordpress in the near future, so that I can have commenting up and working again. Until then, please feel free to send me your comments via my email contact form.. Please ignore everything below this comment.

The Movable Type Troubleshooting guide has some suggestions for fixing this problem. Check at the very bottom under some heading about DB problems after migrating.

Posted by: anon on June 25, 2003 06:49 AM
Post a comment