[Cvsnt] moving CVS repository
Bo Berglund
Bo.Berglund at system3r.se
Wed Mar 20 08:26:41 GMT 2002
1) What type of system was your old CVS server? CVSNT or Linux or what?
2) The passwd file contains the users allowed access to CVS. They must be
valid system user accounts, either on the machine where CVSNT runs or
on the domain. If your old system was on CVSNT and you had no domain
then you must create all of the user accounts you had on the old machine
also on the new one (only those that used CVS of course).
3) The repository can be copied or moved as is from the old server to the
new one, all modules and files will be compatible. However if you have
used any of the administrative file functions like loginfo, notify or
similar then you must go over these as well and make sure they are correct
on the new system. And of course the passwd file reflects users that must
exist....
4) In order to make the future use more easy to manage I recommend that you
place the old repository into a "cvsrepo" subdirectory on a separate disk
and then use the CVSNT Repository Prefix feature to hide the disk and location
from the clients. Say you create a base directory d:\cvsrepo and into this you
copy the old repository "barba", then you set the repository prefix in cvsnt
to be d:/cvsrepo and the repository itself now becomes /barba.
On the clients the new connect string will become like this example:
:pserver:cat at 172.17.24.17:/barba
Now you can at a later time decide to move it all to yet another bigger disk
without having to change anything on the clients. And any Linux/Mac client
will be able without problems to use your CVSNT server since the drive letter
part is removed (drive letters are not known in Unix systems)
/Bo
-----Original Message-----
From: Jasmeet S. Virdi [mailto:virdi at softhome.net]
Sent: den 20 mars 2002 08:17
To: cvsnt at cvsnt.org
Subject: [Cvsnt] moving CVS repository
Hi all,
Till now i had a shared CVS box with a cvs repository for my team. I
recently got a dedicated box and setup CVS on
it. I created a repository by the same name as on my shared system, before
starting CVS fot NT, i moved all the files and folders under my old cvs
repository (including CVSROOT to preserve version info) to my new box and
added the new folder as a repository on my new box. It did not prompt me to
initialize it, i believe that could be because of the presence of CVSROOT.
Now the problem. I had a passwd file on the old box that got copied
along with CVSROOT to the new box. But when i try to login into CVS on the
new box, it jumps as
D:\TEMP\New Folder>set CVSROOT=:pserver:cat at 172.17.24.17:D:\barba
D:\TEMP\New Folder>cvs login
Logging in to :pserver:cat at 172.17.24.17:240:D:\barba
CVS password: ********
D:\TEMP\New Folder>cvs checkout dox
Fatal error, aborting.
cat: no such user
The CVSROOT variable has been correctly set.
Could nebody point out the problem here please ....
-js
=====================================
send me secure email, use PGP.
My keys at http://virdi.port5.com/virdi.txt
=====================================
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list