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

repository backups

From: Stephen Adler <adler_at_stephenadler.com>
Date: 2006-10-20 06:36:58 CEST

Guys,

I'm in the process of setting up a backup system for my subversion
repositories. What I'm doing is
basically

\rm -rf /tmp/HotCopy/MyRepository
svnadmin hotcopy /SVNRepDir/MyRepository /tmp/HotCopy/MyRepository
rsync -avz /tmp/HotCopy/MyRepository remotehost:/backup

The problem is, every time I execute the backup, I loose the
effectivness of rsync since
the whole repository gets pushed over to the remotehost because the /tmp
directory has
been recreated. Is there an incremental hotcopy command which allows me
to do something
like this?

svnadmin hotcopy /SVNRepDir/MyRepository /tmp/HotCopy/MyRepository
svn commit -m "doing something to repository" changedfile.c
file:///SVNRepDir/MyRepository/Module
svnadmin hotcopy /SVNRepDir/MyRepository /tmp/HotCopy/MyRepository

The second hotcopy command complains that the directory already exists
and is non-empty....

Cheers. Steve.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 20 06:37:32 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.