You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by John Spencer <sp...@celeritas.com> on 2005/10/03 19:29:34 UTC

svnadmin verify output

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.

Thanks 




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

Re: svnadmin verify output

Posted by si <ss...@gmail.com>.
> 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:

http://svn.berlios.de/viewcvs/subnant/trunk/README.txt?view=markup

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,
etc).

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.

peace
si

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