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

Re: Moving Repositories to New server

From: David Chapman <dcchapman_at_acm.org>
Date: Tue, 26 Jul 2011 08:35:31 -0700

On 7/26/2011 8:08 AM, Stefan Sperling wrote:
> On Tue, Jul 26, 2011 at 10:35:02AM -0400, Phil Pinkerton wrote:
>> Are there any know issues with regards to moving Repositories from one
>> platform to another ?
>>
>> Will the old Repositories maintain their current SVN revision ?
>>
>> Current platform Sun Solaris 10: SVN 1.6.5
>> Target platform Red Hat Enterprise 5 SVN 1.6.17 ( Subversion Edge )
>>
>> <snip>
> If your repositories are in FSFS format (check the file "db/fs-type")
> you don't need to perform a dump/load cycle. It doesn't hurt,
> but it can take longer than copying the repositories directly.
>
>

If the processor architectures differ, copying the repositories directly
won't work unless changes to the repository format have been made
recently. I had a problem when copying a repository from a 64-bit x86
machine to a 32-bit x86 machine, for example. (I think this was in
1.4.x, but it was years ago and I don't remember the details.) Solaris
10 suggests a SPARC machine as the source. Because of the byte ordering
difference, I'd expect major trouble when copying a repository directly
from a SPARC machine to an x86 machine.

I've used (and recommend) the svnsync approach recommended by another
poster. Downtime can be even less than when copying repository
directories directly.

-- 
     David Chapman         dcchapman_at_acm.org
     Chapman Consulting -- San Jose, CA
Received on 2011-07-26 17:36:34 CEST

This is an archived mail posted to the Subversion Users mailing list.