[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: Tony Sweeney <tsweeney_at_omnifone.com>
Date: Fri, 16 Sep 2011 11:22:38 +0100

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.

Tony.
[*] fsfsverify.py is your friend

-----Original Message-----
From: Neil Bird [mailto:neil_at_jibbyjobby.co.uk]
Sent: 16 September 2011 09:54
To: users_at_subversion.apache.org
Subject: Re: How to fix corrupt revision in repo?

Around about 15/09/11 03:30, David Hopkins typed ...
> I have an SVN repo that is failing svnadmin verify on revision 192.

   Slightly OT, if I may: would a 'svnadmin hotcopy' also show up
errors that 'verify' would? We use hotcopy to pull our repos off the
SVN server onto a backup-up network drive, but we don't use verify
regularly.

   The network drive has incremental backups so if we see an error
during the copy we can still get older, valid, copies of revs. back.

   Do we need to be running verify as well?

--
[neil_at_fnx ~]# rm -f .signature
[neil_at_fnx ~]# ls -l .signature
ls: .signature: No such file or directory [neil_at_fnx ~]# exit
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1410 / Virus Database: 1520/3899 - Release Date: 09/15/11
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
Received on 2011-09-16 12:23:20 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.