Reverting from a DR
Date: Thu, 15 Jan 2009 02:42:49 -0800 (PST)
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?
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
This is an archived mail posted to the Subversion Users mailing list.