[cvsnt] Re: Recommendations for Moving Servers

Bo Berglund bo.berglund at telia.com
Sat Sep 3 07:18:56 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


On Fri, 2 Sep 2005 19:49:07 -0600, "Siegfried Heintze"
<siegfried at heintze.com> wrote:

>Oh --- and another question. Presently I have all the repositories in top
>level directories on C:.
Did you have several repositories or did you have one repository with
several modules? You can find out by counting how many directories by
the name CVSROOT you can find by searching on the old server.

>
>On my new machine, can I move them to c:\CVSNT?
Yes, see below.

>
>Thanks,
>Siegfried

1) Install CVSNT on the new server

2) Create a repository directory on your new server, for example
C:\CVSREPO or similar.

3) Copy the full contents of the old repositories to the new server
below the C:\CVSREPO directory. This could now be C:\CVSREPO\OLDREPO1,
C:\CVSREPO\OLDREPO2 etc

4) Go to the CVSNT Control panel on the new server and on the
"Repository Configuration" tab click the Add button

5) Now click the browse button [...] and find the top of your old
repositories one by one.

6) For each of these enter a name and a description. The name should
be something like /Software or /Documents or similar. Do not include
drive letters in the name and keep it simple (one word).

7) CVSNT will see that the directory is a repository and add it to its
list. But if you did not copy the CVSROOT subdir from the old server
than CVSNT will offer to initilaize the new repository for you by
creating the CVSROOT admin directory and files.

8) Important: Click the Apply button to actually get these changes
active and then OK. You might also want to stop/start the CVS service
on the tab About.

Now you have finished the base work, but there are some things still
to do. If you are using any scripting such as loginfo when people
check in data, then you need to edit the script files to make them
work on the new server. To do so you have to check out the module
CVSROOT from each repository (separate of course) and edit, then
commit your changes.

The checkout can be done by:

cvs -d :sspi:cvsserver:/Documents checkout CVSROOT

Note that the name of the server (cvsserver) and the repository
(/Documents) depend on your own situation.

/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook