On Friday 01 August 2003 08:10, Raghuraj, Ajay wrote:
> Hi,
>
> I have a question on CVS. Basically i want to shutdown my pserver and
> take a backup of the repositories. I want to schedule this in a
> script. The CVSPSERVER is in /etc/xinetd.d . How do i go about it
>
> Thanks,
> Ajay
 

One possibility is to create a /etc/xinetd.d/pserverON file 
(disable=no), a /etc/xinetd.d/pserverOFF(disable=yes) file, in your 
script copy the appropriate file to /etc/xinetd.d/pserver and then 
restart xinetd.

Don't forget to kill any previously existing pserver processes that 
exist since they will not be stopped when you restart xinetd.

Another option is to use file permissions/locks to allow your developers 
to check out while you're backing up but not able to write to the 
repository: 

http://www.cvshome.org/docs/manual/cvs-1.11.6/cvs_2.html#SEC13

There is some discussion of backing up the repository in the CVS 
archives:

http://mail.gnu.org/archive/html/info-cvs/

Regards,  Mike Klinke



Regards,  Mike Klinke


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to