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

Re: Betr.: Live replication to backup server

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 21 Jan 2011 10:33:53 +0100

On Fri, Jan 21, 2011 at 10:05:02AM +0100, Jan Keirse wrote:
> Oliver Marshall <Oliver.Marshall_at_g2support.com> schreef op 21/01/2011
> 09:57:34:
>
> > Hi,
> >
> > Does anyone know of any manageable way to have SVN (Ubuntu 8 LTS
> > currently) replication all changes to a secondary server?
> >
> > Im toying with using Rsync but I?d prefer to use a hook in SVN
> > ideally to ensure that we only copy files when they are fully checked
> in.
>
>
> Subversion comes with a tool for that:
> http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.tk.svnsync

Make sure to read about this issue before using svnsync:
http://subversion.tigris.org/issues/show_bug.cgi?id=3546

The svnsync setup as described in the book will work properly in
Subversion 1.7 (not released yet). Until then, a race condition has
to be worked around. See http://svn.haxx.se/users/archive-2011-01/0291.shtml
for the workaround.

Stefan
Received on 2011-01-21 10:34:33 CET

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.