[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: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Mon, 8 Nov 2010 09:14:03 +0000

>

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_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)

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
Received on 2010-11-08 10:14:45 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.