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

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

From: Kalin KOZHUHAROV <kalin_at_thinrope.net>
Date: 2006-04-02 05:35:18 CEST

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
Received on Sun Apr 2 05:34:43 2006

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.