[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Stone-dead repository

From: Stuart Robertson <dogmatix_at_absolutesys.com>
Date: 2004-02-20 15:04:22 CET

> When you ran revocer, did you make sure that there were no other
> processes have the DB open, e.g. a hung apache process? Recovery takes
> an exclusive lock on the DB which basically means that it waits until
> all other processes have closed the DB. This is usually the problem if
> you don't see any disc activity when recover is "running".

I shutdown apache and then moved the test repository out of the
/svnrepos/repositories and into /tmp so that I could re-enable apache to
allow other developers to continue working.

When I ran svnadmin -lstxns it was on /tmp/TestRepos

> > 1) Does anyone know what might have caused the repository to die (or
> > become corrupted?)?
> >
> It's hard to say without more details, i.e. the apache log etc.

Which log file should I be looking at?

> > 2) What strategies can I adopt to enable a commit-by-commit backup
> > (incremental preferably) of each repository so that, in the event of
> > something going wrong, I can (hopefully fairly quickly) restore the
> > repository to a working state and lost at most the last commit.
> >
> You can perform an incremental dump in the post-commit hook.

Thanks.. I'll look into incremental dumps.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 9 00:13:25 2004

This is an archived mail posted to the Subversion Users mailing list.