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

Re: Moving SVN from one server to another

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Thu, 26 Apr 2018 11:58:39 +0200

On Thu, 26 Apr 2018 11:26:38 +0200, OBones <obones_at_free.fr> wrote:

>Well, maybe I read this wrong, but the manual talks about a master and a
>slave, which are tightly related. If I remove the master once the slave
>is fully ready to take over its role, I'm not sure it will work
>smoothly, hence my question.

I just set up an svnsync system a few weeks back and my read is that
the two repositories are basically mirror images of each other, but
that the mirror should never be committed to.
(Except for svnsync of course, it will shoot the commits performed on
the master to the mirror thus replicating the state)

But if you decide to take the master off-line at a later time and run
with the mirror instead, then what you need to do is modify the hooks
that are present on the mirror to disallow commits except from svnsync
and whatever sync related hooks you have in place.
After that the mirror should act as a regular repository, but you can
no longer sync with the original because of colliding revision
numbers.

-- 
Bo Berglund
Developer in Sweden
Received on 2018-04-26 11:59:02 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.