Mirror SVN Repository [Write-through proxying]

£可爱£侵袭症+ 提交于 2019-11-28 06:59:19

Try Multisite Repository Replication with VisualSVN Server. That's exactly what you were looking for then.

Multisite Repository Replication enables classic master/slave replication architecture which allows you to setup a master repository at your main codebase location in Europe with multiple slaves at other locations.

In contrast to standard write-through proxy solution, in Multisite Repository Replication feature

  • master and slave repository looks and acts just like a regular writeable Subversion repository,

  • the replication between master ans slaves is performed automatically and transparently,

  • supports advanced authentication mechanisms,

  • It's easy to setup, works out-of-the-box with minimal configuration via VisualSVN Server Manager MMC console.

Learn more at http://www.visualsvn.com/support/topic/00068/

Peter Parker

You can also try a write-through-proxy which is supported since SVN 1.5 and works fine.

With this setup you have a master and a slave repository.

The slave repo acts as a local read cache while commits will be proxied to your master server and synced back.

This solution comes with subversion / apache.

See this svndevelopers blog for more details. Or the superb SVN book, or last but not least the subtrain admin training presentations

John Gietzen

Here is a pretty good article on how to set this up:

http://wordaligned.org/articles/how-to-mirror-a-subversion-repository

The general idea is to use svnadmin hotcopy to do the copy without down time, perhaps triggered by a post-commit hook, or on a timer.

Another option, discussed here:

http://blogs.collab.net/subversion/2007/08/mirroring-repos/

Is to use SVN sync to do a sync, rather than a copy, using the svnsync synchronize command.

Besides the svnsync, you can try the commercial solution from Wandisco.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!