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

Re: Recover a corrupt repository

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-12-13 10:56:31 CET

On Dec 13, 2007, at 03:04, Jef Driesen wrote:

> Ryan Schmidt wrote:
>
>> On Dec 12, 2007, at 08:23, Jef Driesen wrote:
>>
>>> Unfortunately, my last backup only goes back to r28. All changes
>>> after that are very recent and thus not yet included in the backup.
>>
>> You should really modify your backup strategy so that you make a
>> backup of each revision as it is committed to the repository, by
>> using the post-commit hook to run "svnadmin dump"
>
> Good idea! I didn't know that was possible.

Oh yes. Backing up the just-committed revision in the post-commit
hook right after it's been created is a great idea. It's recommended
often on this list when people encounter these problems. "svnadmin
dump --incremental" used to be the recommendation for these cases.
Now that we have "svnsync", that may be easier and/or more useful.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 13 10:57:19 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.