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

Re: Estimation of repository upgrade

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 5 Aug 2011 13:54:43 -0400

On Fri, Aug 5, 2011 at 1:52 PM, Les Mikesell <lesmikesell_at_gmail.com> wrote:

> On 8/5/2011 12:27 PM, Mark Phippard wrote:
>
>>
>> > Until you manually copy over the $repodir/db/uuid file, this is
>> true.
>> > That's one of the "relevant configuraton files" I referred to.
>>
>> So, are you saying svnsync will be faster than a dump/load?
>>
>> I didn't know the guid was stored in a file.
>>
>>
>> svnsync is slower than dump/load. I think the issue is that you can
>> keep the old repository online during the process and switch when you
>> are ready.
>>
>> BTW, why copy a file you are not supposed to when you could just use the
>> svnadmin setuuid command to make the Repository UUID match between the
>> two repositories? No need to involve yourself in the internals of the
>> repository when there is a public interface to do it for you.
>>
>
> Can you copy from source to dest in one step with the interface (or
> svnsync) like scp or rsync will do for you?
>

Are you talking about the setuuid command?

$ svnadmin help setuuid
setuuid: usage: svnadmin setuuid REPOS_PATH [NEW_UUID]

Reset the repository UUID for the repository located at REPOS_PATH. If
NEW_UUID is provided, use that as the new repository UUID; otherwise,
generate a brand new UUID for the repository.

Script it however you choose.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2011-08-05 19:55:15 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.