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

Re: how to check completeness? (was: Re: urgent: subversion)

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-08-06 12:43:57 CEST

Kenneth Porter wrote:
> --On Friday, August 06, 2004 9:12 AM +0100 Max Bowsher <maxb@ukf.net>
wrote:
>
>> 'svnadmin dump' reads out a complete representation of the repository -
>> so, yes, if a dump runs successfully, you can be certain your repository
>> is 100% working
>
> I saw mention in The Book about using a hook script to create a hot
backup,
> but it strikes me as more "safe" to dump the repository instead, perhaps
> gzipping it. Has anyone written a hook script like that?

It's not exactly hard. Just use something like:

svnadmin dump --incremental -r $REV $REPOS | gzip -9 >
$BACKUPPATH/rev-$REV.dump.gz

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 6 12:45:26 2004

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.