info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy repository to a new cvs-server


From: James Knowles
Subject: Re: copy repository to a new cvs-server
Date: Sun, 02 Dec 2001 11:25:10 -0700

> I have a new cvs-server and I want to copy the whole repository
> from the old to the new server. The newest cvs-version is installed
> and running on the new one.
> What is the best way to do this?

I personally use rsync. All our machines have the r* command disabled, so I
have to use 'rsync -essh' to ensure rsync uses ssh for transport. This works
great for remote hosts over insecure networks. I've pretty much stopped
using tar+ftp. 

Be sure the read the man pages for the difference between

rsync -av -essh /var/cvs newserver:/new/cvsroot/path 

and 

rsync -av -essh /var/cvs/ newserver:/new/cvsroot/path 

(note the trailing slash on "/var/cvs/"). 

-- 
Remember: every member of your 'target audience' also owns a broadcasting
station. These 'targets' can shoot back.
- Michael Rathbun to advertisers in n.a.n-a.e


reply via email to

[Prev in Thread] Current Thread [Next in Thread]