Sounds great, but I have the notion that the UUID must be identical for the two 
repositories for this to work, how do you achieve that? Is this done by 
svnsync? Or isn't this necessary at all?



Geir

Note : All inquiries regarding Subversion, MKS and general Development servers 
should be directed to "EDB SourceControl System"


-----Original Message-----
From: Giulio Troccoli [mailto:giulio.trocc...@uk.linedata.com] 
Sent: 8. november 2010 10:14
To: 'Gingko'; 'Subversion User List'
Subject: RE: Promoting a mirror repository as a source repository

>


Linedata Limited
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03

-----Original Message-----


> From: Gingko [mailto:from_tig...@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 source 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 repository.
>
> How could I promote my mirror repository in order to have it
> becoming the new source repository on the mirror server or on
> another server ?
>
> (I think that just using the mirror repository without change
> is not enough 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)

Hi,

We use svnsync to keep our DR repositories ready, and the procedure I have to 
switch to these repositories is something like the following (for each 
repository):

- delete the svn:sync-* revision property for revision 0
- modify the hooks and/or access file to allow read-write access for all normal 
users
- change the DNS for the URL of the production server to point to the DR server

Hope this helps

Giulio

Reply via email to