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

RE: Re: Recover a corrupt repository

From: Srilakshmanan, Lakshman <lakshman.srilakshmanan_at_police.vic.gov.au>
Date: 2007-12-14 00:47:16 CET

Hi All,

I have been reading this thread with great interest.

I have 2 questions.
A) "svnadmin dump --incremental" or "svnsync" should be used as the
preferred method for backing up ?

B) If the main repository is corrupted, then wouldn't the above strategy
copy the corruption over to the backup ? I am assuming that is *not* the
case and would appreciate if someone can fill the gap in my knowledge.

Thanks
Lakshman

-----Original Message-----
From: John Peacock [mailto:john.peacock@havurah-software.org]
Sent: Thursday, 13 December 2007 11:17 PM
To: Ryan Schmidt
Cc: Jonathan Ashley; users@subversion.tigris.org; Jef Driesen
Subject: Re: Recover a corrupt repository

Ryan Schmidt wrote:
> But... but... but... only one commit can happen at a time. And the
> commit is not over until the post-commit script has finished running.
> Therefore, if you run svnsync in the post-commit hook, there can
> already only be one svnsync process running at a time.

Um, no. The commit is over before the post-commit has completed (that's
why it is called post-commit). Just because it doesn't return control
to the client until after the post-commit fires, doesn't mean someone
else can't commit. In fact, it has long be recommended that
long-running post-commit steps be forked into the background, which
makes the situation even more muddy...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

================================================================================================
EMAIL DISCLAIMER

This email and any attachments are confidential. They may also be subject to copyright.

If you are not an intended recipient of this email please immediately contact us by replying
to this email and then delete this email.

You must not read, use, copy, retain, forward or disclose this email or any attachment.

We do not accept any liability arising from or in connection with unauthorised use or disclosure
of the information contained in this email or any attachment.

We make reasonable efforts to protect against computer viruses but we do not accept liability
for any liability, loss or damage caused by any computer virus contained in this email.
================================================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 14 00:49:16 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.