>
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