You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bill Moran <wm...@collaborativefusion.com> on 2006/09/21 14:19:36 UTC

Looking for easy way to mirror subversion repository

I did some google searches and the only thing I've found so far is a
perl module.  If I have to write perl to get this, I'll do it, but
I find it hard to believe that I'm the first person wanting this.

Basic reason:  our repos are important enough that I'd like to mirror
them on a pretty regular basis (every hour or so) to minimize data loss
in the event of a catastrophic failure.  Yes, I make backups every 8
hours.  Yes, the repos are on mirrored drives.  This is yet another
layer I'd like to add to our disaster preparation stuff.

It'd be nice if there were a program out there that could simply sync
up two repositories across a network.

Suggestions?

-- 
Bill Moran
Collaborative Fusion Inc.

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

Re: Looking for easy way to mirror subversion repository

Posted by Mark <ma...@mitsein.net>.
On 9/21/06, Bill Moran <wm...@collaborativefusion.com> wrote:
> In response to "Garrett Rooney" <ro...@electricjellyfish.net>:
>
> > On 9/21/06, Bill Moran <wm...@collaborativefusion.com> wrote:
> > >
> > > I did some google searches and the only thing I've found so far is a
> > > perl module.  If I have to write perl to get this, I'll do it, but
> > > I find it hard to believe that I'm the first person wanting this.
> > >
> > > Basic reason:  our repos are important enough that I'd like to mirror
> > > them on a pretty regular basis (every hour or so) to minimize data loss
> > > in the event of a catastrophic failure.  Yes, I make backups every 8
> > > hours.  Yes, the repos are on mirrored drives.  This is yet another
> > > layer I'd like to add to our disaster preparation stuff.
> > >
> > > It'd be nice if there were a program out there that could simply sync
> > > up two repositories across a network.
> >
> > If you've upgraded your server to Subversion 1.4 you can use svnsync:
> >
> > http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt
>
> Thanks Garrett.  That server is currently 1.3, but svnsync is a good
> reason to plan an upgrade!
>
> --
> Bill Moran
> Collaborative Fusion Inc.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
svnsync is definitely the way to go.
An aside on backsups, though.  You would be wise to make dumps of your
svn repos and rely on those for backup.  In the course of the
repository itself getting backed up it can become out of sync as it
gets committed to.

-- 
Mark
"Blessed is he who finds happiness in his own foolishness, for he will
always be happy."

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

Re: Looking for easy way to mirror subversion repository

Posted by Bill Moran <wm...@collaborativefusion.com>.
In response to "Garrett Rooney" <ro...@electricjellyfish.net>:

> On 9/21/06, Bill Moran <wm...@collaborativefusion.com> wrote:
> >
> > I did some google searches and the only thing I've found so far is a
> > perl module.  If I have to write perl to get this, I'll do it, but
> > I find it hard to believe that I'm the first person wanting this.
> >
> > Basic reason:  our repos are important enough that I'd like to mirror
> > them on a pretty regular basis (every hour or so) to minimize data loss
> > in the event of a catastrophic failure.  Yes, I make backups every 8
> > hours.  Yes, the repos are on mirrored drives.  This is yet another
> > layer I'd like to add to our disaster preparation stuff.
> >
> > It'd be nice if there were a program out there that could simply sync
> > up two repositories across a network.
> 
> If you've upgraded your server to Subversion 1.4 you can use svnsync:
> 
> http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt

Thanks Garrett.  That server is currently 1.3, but svnsync is a good
reason to plan an upgrade!

-- 
Bill Moran
Collaborative Fusion Inc.

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

Re: Looking for easy way to mirror subversion repository

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 9/21/06, Bill Moran <wm...@collaborativefusion.com> wrote:
>
> I did some google searches and the only thing I've found so far is a
> perl module.  If I have to write perl to get this, I'll do it, but
> I find it hard to believe that I'm the first person wanting this.
>
> Basic reason:  our repos are important enough that I'd like to mirror
> them on a pretty regular basis (every hour or so) to minimize data loss
> in the event of a catastrophic failure.  Yes, I make backups every 8
> hours.  Yes, the repos are on mirrored drives.  This is yet another
> layer I'd like to add to our disaster preparation stuff.
>
> It'd be nice if there were a program out there that could simply sync
> up two repositories across a network.

If you've upgraded your server to Subversion 1.4 you can use svnsync:

http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt

-garrett

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