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

Re: svnsync

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 27 Jul 2011 10:16:10 -0400

On Wed, Jul 27, 2011 at 10:12 AM, Phil Pinkerton <pcpinkerton_at_gmail.com>wrote:

> A local SVN "expert" tells me svnsync is all I need with regards to
> moving several (about 2 hundred) repositories from a Unix server to a
> Linux server even though there are mixed versions of SVN.
>
> Some are 1.5x others are 1.6.x (all are FSFS).and the destination
> server will have
> 1.6.17 svn installed ( Subversion Edge )
>
> Is it possible it is as simple as say doing an SFTP of all the Unix
> Repositories to the Linux server then running svnsync on each repo ?
>
> any one done this successfully I am a bit of a skeptic when a task of
> this magnitude ids described as being too simple. WE are taking about
> several repos many well over 4GB
>

If the existing repositories are FSFS, you could actually just move the
repositories to the new server and use them. IOW, just copy the repository
folder to the new server.

svnsync is a good option if you do not want any downtime, otherwise, I would
use svnadmin dump/load over svnsync. It will run faster but you should have
the repositories offline while doing it. Where as with svnsync you could
still be using the old repository until the new one is ready.

Do not forget to recreate your hook scripts in the new repositories if you
are using any.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2011-07-27 16:18:21 CEST

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.