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

Re: mirror/syncronize a server?

From: Helge Jensen <helge.jensen_at_slog.dk>
Date: 2005-05-10 07:18:43 CEST

Geoffrey Plitt wrote:
> Hi,
>
> Is it possible to mirror/syncronize a subversion server?

Send incrementail dumps, essentially:

LAST=`cat LAST`
NOW=`svnlook youngest $REPO`
svnadmin dump $REPOS -r$LAST:$NOW --incremental \
   | ssh ohterserver svnadmin load $OTHER_REPO
echo -n $LAST > LAST

I use this daily to an offsite svn-mirror.

Of course, you need to serialize the execution of the above if you wish
to exec it in post-commit.

-- 
Helge Jensen
   mailto:helge.jensen@slog.dk
   sip:helge.jensen@slog.dk
                -=> Sebastian cover-music: http://ungdomshus.nu <=-
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 10 07:21:12 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.