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?
Note : All inquiries regarding Subversion, MKS and general Development servers should be directed to "EDB SourceControl System"
From: Giulio Troccoli [mailto:Giulio.Troccoli_at_uk.linedata.com]
Sent: 8. november 2010 10:14
To: 'Gingko'; 'Subversion User List'
Subject: RE: Promoting a mirror repository as a source repository
Registered Office: 85 Gracechurch St., London, EC3V 0AA
Registered in England and Wales No 3475006 VAT Reg No 710 3140 03
> 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 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)
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
Received on 2010-11-08 12:08:15 CET