[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    Re: synchonizing two Subversion repositories
From:       Nick Thompson <nickthompson () agere ! com>
Date:       2006-05-04 9:00:08
Message-ID: 200605041000.09126.nickthompson () agere ! com
[Download RAW message or body]

On Thursday 04 May 2006 05:07, ninad panday wrote:
> Hi All,
>
> I have two svn server running with Apache using fsfs.
>
> I want to synchronize repository of Server B with server A. That is
> at a specific time the repository at server A should be copied to
> server B.
>
> One solution can be.
> 1. Create backup of resositry of server A with hotcopy at specfied
> time interval 2. use scp or rsync to transfer this back to server B
>
> can we use this or there is any other way to do this? One more
> thing, this is a one way copy i.e. from server A to server B

You can use the script SVNmirror which I imagine you can find with 
google.

Or you can do for yourself something similar to what it does (IIRC):

"svnadmin dump" new revision(s) on A since last update.
scp the dump file to B.
"svnadmin load" the dump file on B, which load just the new revisions.

The dump command would look something like:

svnadmin dump /repo/path -r <rev_range> --incremental >dumpfile

You can use rsync to get the initial copy onto B and for updating B 
after your sync process goes wrong (bugs, network issues, etc.).

HTH,
-- 
> Nick Thompson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic