[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Checkout of mirror slave check into mirror master

From: Jared Hardy <jaredhardy_at_gmail.com>
Date: 2007-02-15 03:16:28 CET

On 2/14/07, Ryan <niespam@gmail.com> wrote:
> Thanks for the info Ryan. Does anyone know of a sync method or tool that
> will allow checkout from a mirror and checkin to a master repository (or
> even better a two way sync)??

I read about success with a central Subversion 1.4+ repository, and
several 1.5+(trunk) repository mirrors, using some form of WebDAV
reverse-proxy support in 1.5+. The idea is that all checkout/update
(read) operations come from the closest mirror, and that mirror uses a
reverse proxy setup to forward all commit (write) operations to a
single central repository. The central repository has a post-commit
hook script that svnsync's changes to all mirror repositories, after
any successful commit. This could be used for read load balancing,
where another non-mirror reverse proxy is set up, to direct all
requests to many mirror servers. Write load balancing and
high-availability is still impossible for commit operations using
svnsync, since a single node is still responsible for all accepting
all commits. Sorry that I don't have a mailing list archive link for
you. Googling "reverse proxy subversion 1.5 svnsync" may get you there
faster than the mailing list archive search.
    There is also SVK, which uses the perl component SVN::Mirror to
"sync" a remote svn repository to a local one, or vice versa. I'm in
the process of writing post-commit hook scripts using SVK calls, to
automate mirror backups to remote servers. I may just use svnsync
instead, if I can get all the repositories involved upgraded to
version 1.4+, but I kind of like the idea of setting up a series of
automated SVK mirror commit-hook scripts, to sync changes up and down
an arbitrary tree of SVN repositories. :)

Jared

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 15 03:17:34 2007

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.