On Fri, Aug 5, 2011 at 1:52 PM, Les Mikesell <lesmikes...@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/

Reply via email to