On Fri, Jan 21, 2011 at 10:05:02AM +0100, Jan Keirse wrote: > Oliver Marshall <oliver.marsh...@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