You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Octavian Hornoiu <oc...@hacknslash.org> on 2004/03/12 16:14:10 UTC

mirroring repositories

Is there a process by which I can automatically mirror repositories say
on an hourly basis from one server to another?  If there isn't, how
would someone do this via a script once a day, for example, so that they
could play with new features, etc.

 

Thanks!

 

Octavian Hornoiu


Re: mirroring repositories

Posted by John Peacock <jp...@rowman.com>.
Octavian Hornoiu wrote:

> Does this process work using svn+ssh:// for the protocol or do I need to
> be running apache2 to do it?

AFAICT, it works with whatever RA protocols are installed in the bindings (i.e. 
whatever the local client supports).

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

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

RE: mirroring repositories

Posted by Octavian Hornoiu <oc...@hacknslash.org>.
Does this process work using svn+ssh:// for the protocol or do I need to
be running apache2 to do it?

Octavian Hornoiu

-----Original Message-----
From: John Peacock [mailto:jpeacock@rowman.com] 
Sent: Friday, March 12, 2004 9:18 AM
To: octavian@hacknslash.org
Cc: users@subversion.tigris.org
Subject: Re: mirroring repositories

Octavian Hornoiu wrote:

> Is there a process by which I can automatically mirror repositories
say 
> on an hourly basis from one server to another?  

SVN::Mirror will do it; the docs are pretty minimal at this point, but
you will 
need the Perl bindings installed.  It's pretty simple:

            # the svn repository for svm to use
            % setenv SVMREPOS ~/svm

            # set the path mirror/svn to mirror official subversion
trunk
            # ignore the changesets between revision 1 thru 6000
            % svm init mirror/svn http://svn.collab.net/repos/svn/trunk
6000

            # run the actual mirroring
            % svm sync mirror/svn

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

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



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

Re: mirroring repositories

Posted by John Peacock <jp...@rowman.com>.
Octavian Hornoiu wrote:

> Is there a process by which I can automatically mirror repositories say 
> on an hourly basis from one server to another?  

SVN::Mirror will do it; the docs are pretty minimal at this point, but you will 
need the Perl bindings installed.  It's pretty simple:

            # the svn repository for svm to use
            % setenv SVMREPOS ~/svm

            # set the path mirror/svn to mirror official subversion trunk
            # ignore the changesets between revision 1 thru 6000
            % svm init mirror/svn http://svn.collab.net/repos/svn/trunk 6000

            # run the actual mirroring
            % svm sync mirror/svn

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

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