[slf4j-dev] svnb repository backup
Ceki Gulcu
ceki at qos.ch
Mon Feb 9 16:42:38 CET 2009
Hi Jukka,
A daily sync would be fine but an hourly sync, if it's not too much of a hassle,
would be even better. As an alternative and from what I understand, it seems
that the "svnsync sync" command can be driven from the master repository. Thus,
adding a post-commit hook would be quite simple and efficient. Here is a recipe:
http://www.codegobbler.com/mirror-svn-repository-svnsync
I also modified DNS so that svn-mirror.slf4j.org points to 84.234.73.32.
Similarly, svn-mirror.qos.ch also points to 84.234.73.32.
We have two separate repos, svn.slf4j.org and svn.qos.ch. Both are readable by
anonymous users.
I guess that you'd "svnsync initialize" both repositories with a username and
password of your choice and we'd proceed from there.
Cheerio,
Jukka Zitting wrote:
>
> Sounds good to me.
>
> How should we do this? As far as I understand I should set up a new
> repository that uses svnsync to pull everything from
> http://svn.qos.ch/repos/. Will something like a daily (or hourly)
> batch update be enough, or should we setup a commit hook that syncs
> the repositories on each commit?
>
> AFAIK I should set up http://.../repos/ and http://.../viewvc/ as
> access points to the svn mirror. What should the domain be? My server
> is at if you want to point something like svnb.qos.ch to
> it.
>
> BR,
>
> Jukka Zitting
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
More information about the slf4j-dev
mailing list