• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dealing with Subversion (Berkeley DB) Recovery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.



  • Follow-Ups:
    • Re: Dealing with Subversion (Berkeley DB) Recovery
      • From: "b.bum" <email@hidden>
References: 
 >Dealing with Subversion (Berkeley DB) Recovery (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: What is the <username>.mode1 file used for in Xcode project bundles?
  • Next by Date: How do I change the name of the executable
  • Previous by thread: Dealing with Subversion (Berkeley DB) Recovery
  • Next by thread: Re: Dealing with Subversion (Berkeley DB) Recovery
  • Index(es):
    • Date
    • Thread