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

Re: synchronize two subversion repositories

From: Henk <henk.schets_at_kmi-irm.be>
Date: 2005-03-18 11:38:53 CET

Thanks for the info. I spent hours to compile subversion on our suse
9.1 system because I was thinking I really needed berkeley db (if you
do a configure of Subversion it still suggests it is a better solution).
  So now It seems FSFS is not only stable, but also better for our needs.

I just tried the hotcopy, but it does not seem to work properly :
errcode="160029"
Berkeley DB error while checkpointing after Berkeley DB transaction for
filesystem /usr/local/subversion/repository/db:
DB_NOTFOUND: No matching key/data pair found

I'll think I'll try the FSFS.

Thanks a lot !

Henk

Daniel Patterson wrote:
> Henk wrote:
>
>> Hi,
>>
>> we have two identical servers in failover. We would like to use
>> subversion on them. One server is the master server which we will use
>> most of the time. When the master fails, the slave will take over.
>> What do you think is the best way to keep the two repositories on
>> these two machines synchronized ? Can I just make a backup on the
>> other machine every x minutes ? Can I use rsync ? Is there some
>> easier way ?
>
>
> If you're using the FSFS backend, then rsync will probably do nicely.
>
> I've also had "svnadmin dump -r N --incremental" running as a
> post-commit hook, which copied the dump over to the other server
> and did an "svnadmin load". Seemed to work well enough. You need
> another hook to handle revprop changes too. Rsync is a lot easier,
> but it gets progressively slower as the size of the repository
> grows.
>
> We have a similar setup, however, the volume where the FSFS filesystem
> is located is on an EMC SAN of some sort, and it just magically
> "appears" on the failover server if the main server goes down
> (we have an entire department responsible for "storage").
> We just leave Apache running on both servers, and when a "failover"
> event occurs, the SAN moves to the failover host, and the DNS
> entry for the svn host is changed.
>
> daniel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

-- 
Henk Schets
  Group Manager Product Development
  Royal Meteorological Institute of Belgium (R.M.I.B.)
  Ringlaan 3
  B-1180 Brussels
  Belgium
  Tel: (+32) 2 3730597
  Fax: (+32) 2 3757549
  E-mail: Henk.Schets@kmi-irm.be
  WWW server: http://www.meteo.be
  **************************************************
     When sending documents, please consider using
             an OPEN format (pdf,rtf,...)
  **************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 18 11:42:48 2005

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.