You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kalin KOZHUHAROV <ka...@thinrope.net> on 2006/04/02 03:35:18 UTC

init.d script to `svnadmin verify` after crash?

Hi all.

I am just reviving a server after some unknown (hardware?) crash...  It
was serving subversion repositories under apache as well as many other
things (yeah I know it, but resources are limited).

So I was wondering if someone already has written an init.d style script
to check the consistence of subversion repositories (say after a fs
inconsistency is found). Anyone?

Looking at the documentation for `svnadmin verify` [1] there seem to be
no options and no mention of the exit codes and/or error MSGs, will have
to check the source (and eventually patch the book).

push(@TODO, 'svnadmin verify script') unless (scalar(@TODO) > $TOO_BUSY);

[1]	http://svnbook.red-bean.com/nightly/en/svn.ref.svnadmin.c.verify.html	

Kalin.

P.S. Seems that all repos are fine this time :-)
-- 
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|


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