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

Re: SYNC process

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 28 Mar 2013 20:10:10 -0400

On Thu, Mar 28, 2013 at 10:34 AM, Somashekarappa, Anup
<anup.somashekarappa_at_rbc.com> wrote:
>
>
>
> Hello Team,
>
> We do have master-slave configuration for SVN and we were planning for
> Disaster Recovery plan.
>
> We need some information regarding this process.
>
> We have created a repository on master node.
> Initialized the slave node with master
> And through post-commit we are using svn sync process for
> synchronization.It is working fine.
>
> Now if the master server is down,we have direct users to do the commit on
> slave node.
>
> But later when the master server is back,how can we make both servers to
> be on same revision?

You have two options:

1) Leave it. The slave is now the master,
2) Reverse the process. Set up a new repository on the old master and
sync from the old slave. Once they're in sync, reverse the roles of
the two systems, much like how you made the slave into the master when
the original master went down.

You can probably sync from slave to master without reinitializing the
repository when you make the switch back.
Received on 2013-03-29 01:11:21 CET

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.