LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2004, 12:51 PM   #1
g!nux-one
LQ Newbie
 
Registered: Sep 2003
Location: San Diego, CA.
Distribution: Linux RedHat 6.2 - 9.0
Posts: 1

Rep: Reputation: 0
Question Migrating CVS to another Server?


Okay so I did my due dilligence and searched on the LQs site for all other info on CVS, which actually answered my first question of how to setup a CVS server.

If you need to know how to set up a CVS server, see: thread id=134231 (great post!!!)


Now the particular question that I have is what needs to be done in order to migrate a cvs repository from one server to a new server?

Is it as simple as tar'ing the directory and ftp'ing it over?

What about permissions? Should I simply edit the passwd file to reflect the same UIDs from the old system?




Last edited by g!nux-one; 01-21-2004 at 02:23 PM.
 
Old 01-21-2004, 04:59 PM   #2
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
Right, you can simply tar and copy the repository and then tell cvs where to find it.


Concerning permissions: if you don't have the same user ids on both systems and the new system is already in production use, you should not change user ids in /etc/passwd.

Use something like

chown <username> `find -uid <old_user_id>`

after untaring the repository on the new machine.

If you have many users, you might use a small shell script to extract uid and username from old /etc/passwd and exec the line above for all users.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating Samba accounts to new server kkolehma Linux - Networking 0 10-14-2005 03:39 AM
Running CVS Server on Fedora Core 4 with pserver as "cvs" user rupak Fedora 2 09-17-2005 02:06 PM
Running CVS Server with pserver as "cvs" user on Fedora Core 4 rupak Linux - Software 2 09-17-2005 12:10 PM
Migrating NT Server to Linux cloro_x Linux - Networking 4 08-30-2003 04:30 AM
Questions about migrating a server... oaaltone Linux - General 2 02-21-2003 12:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration