RE: How to restore from backup via svnsync? Or any other suggestions?
From: Giulio Troccoli <giulio.troccoli_at_uk.linedata.com>
Date: Thu, 23 Jul 2009 10:14:20 +0100
>
Linedata Services (UK) Ltd
-----Original Message-----
> From: Neil Aggarwal [mailto:neil_at_JAMMConsulting.com]
We will be using svnsync for our DR (I'm currently testin the process but it seems to be working quite nicely). We do have few repositories each with at least a pre- and post-commit hooks. BUT we do have a repository for the hooks, which is checked-out on the server and the hooks directory in each repository have a symlink to this working copy. We decided to go this way to version the hooks too.
I changed the post-commit hooks for each repository to call svnsync sync, and the post-revprop-change hooks to call svnsync copy-revprops. This way every commit and every change to the properties will be replicated.
So, all I have to do in case of DR is to set the symlinks for the hooks, delete (and I'm not even 100% sure this is needed) the properties at revision 0, and change the DNS to point to the new server. The users will nver notice anything different.
Giulio
------------------------------------------------------
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.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.