You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by gi...@uk.linedata.com on 2009/01/15 10:42:49 UTC

Reverting from a DR

Hello guys,

I am going to use svncopy to keep a mirror of my repositories. My production server is a RHEL4 with Subversion 1.4.4 and Apache 2.0, and the mirror will be a VM with the same specs.

My first questions is about how and when to set the UUID of the mirrored repository. The SVN Book gives the following instruction to set it:

cat - <<EOF | svnadmin load --force-uuid dest

Because cat will get the input from the keyboard I will need to have a dump of the production repository ready so that I can "copy and paste", is that correct? Also, when shall I do this? Before or after the initial svnsync init?

My second question is how to revert from a DR. In case of a DR my plan is to simply change the internal DNS to make ln1sub01 (the internale name of our Subversion server) to the new IP address. This way no-one will ever realise that we had a DR. However, how shall I proceed when we are ready to go back to normal and the mirrored repository (which is now the production repository) has been modified (by some commits)? Do I have to use the dump/load procedure? Wouldn't I also copy the property in revision 0 used by svnsync? Would that cause any problem? Will I be able to simply go on with "svnsync sync" without recreating the mirrored repository and starting over?

Thanks
Giulio

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1026229

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].