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

Re: svnadmin verify output

From: si <sshnug.si_at_gmail.com>
Date: 2005-10-04 03:51:36 CEST

> Does anyone know of a method to port the output of svnadmin verify to a text
> file? We complete a hotcopy of our Subversion database (on Windows) and
> then run svnadmin verify on the hotcopy backup to ensure it was successful.
> I'm in the process of automating this, but can't get svnadmin verify to
> write it's output to a text file. Any assistance would be greatly
> appreciated.

Hi John,

You might like to try Subnant, which is a set of NAnt scripts to do
exactly that:


Subnant will do a hotcopy+verify or a dump+compress on all (or
selected) repositories which reside under a common svn-root directory,
then email the result (if requested).

It keeps a log (forever or cycled X number of days) of the result from
each target run, including svnadmin output (captured in stderr), if
there is a problem with the process, the complete log is attached to
the email, otherwise a summary is generated (time taken, size of dump,

Feel free to email me offlist of you're interested in checking it out
and need help setting it up, but the readme should contain most of
what you need. Each process (target) has it's own test, so i'd
recommend running them first to see how it operates.

We also use Subnant in Subversion hooks to generate commit emails and
to ensure log messages are entered, and i'm currently working on the
check-case-insensitive script.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 4 03:53:13 2005

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.