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

Re: How to fix corrupt revision in repo?

From: edg <egoots_at_gmail.com>
Date: Fri, 16 Sep 2011 13:08:40 -0700

On 9/16/2011 3:22 AM, Tony Sweeney wrote:
> Unlike 'svnadmin dump', hotcopy will happily back up a corrupt revision
> and not tell you. It's really just a clever filesystem backup with a
> very careful time ordering of certain key files in case there is a
> transaction in progress when it runs. Having been bitten by this
> myself[*], we now run svnadmin out of cron every night before we run our
> hotcopy. We also keep a week's worth of hotcopies, and I check my cron
> emails every morning.
>

I have been working under the assumption that the best way to "verify"
is by:

svnadmin dump REPO > NUL ( or to ' > /dev/null' for 'nix)

rather than

svnadmin verify REPO

The reason being that the former also checks revision property files.

See:

http://svn.haxx.se/users/archive-2009-10/0512.shtml
Received on 2011-09-16 22:09:28 CEST

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.