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

RE: Promoting a mirror repository as a source repository

From: Tony Sweeney <tsweeney_at_omnifone.com>
Date: Sat, 6 Nov 2010 01:05:38 -0000

This is doable (I've done it). The shadow repository needs to have the
same UUID as the source, and you either have to repoint the DNS at it or
svn switch all existing clients. See Andrey's link for the skinny.


-----Original Message-----
From: Gingko [mailto:from_tigris_at_nospam.homelinux.org]
Sent: 05 November 2010 23:50
To: Subversion User List
Subject: Promoting a mirror repository as a source repository

Hello again,

I have a (now theoretical) question :

Suppose I have a repository that is a mirror repository of a remote
repository, regularly synced using svnsync.

Suppose now that the source repository become broken or deleted for any
reason (server breakdown, fire, etc)
So the only available copy of the repository is now the synced mirror

How could I promote my mirror repository in order to have it becoming
new source repository on the mirror server or on another server ?

(I think that just using the mirror repository without change is not
as it contains somewhere inside it information about the old source
repository, given at the beginning by "svnsync initialize", which would
certainly need to be removed)


This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
Received on 2010-11-06 02:06:35 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.