Re: Dealing with Subversion (Berkeley DB) Recovery
Re: Dealing with Subversion (Berkeley DB) Recovery
- Subject: Re: Dealing with Subversion (Berkeley DB) Recovery
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 20 Aug 2004 18:12:25 -0600
On Aug 20, 2004, at 11:53 AM, Frederick C. Lee wrote:
2) How do I do command-line DB_RUNRECOVERY of Berkeley DB?
I don't remember the exact path, but there should be a BerkeleyDB
directory inside /usr/local after you installed Berkeley DB, assuming
you built BDB from source. That directory has a bin directory with the
db_recover program. You need to run that while your working directory
is the "db" directory inside the repository's directory.
Fortunately I don't have a lot of files in DB at present. I'm
thinking of running the svnadmin dump & load to flush the problem
away; if this does work. But I would like to know how to handle such
recovery hassles as they're probably occur over & over in the future.
If db_recover can't recover your database, or it does and the database
suddenly gets re-corrupted after trying to make changes, then you may
be screwed. I've lost several BDB databases because the Mac froze after
a Subversion commit, and the database had only been partially saved to
disk. (For some reason BDB does that. I wish it didn't.) I hope you've
been running regular backups...
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
"They [our enemies] never stop thinking about new ways to harm our
country and our people, and neither do we. We must never stop thinking
about how best to offend our country." - George W. Bush (August 5,
2004)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.