Sponsored Content
Full Discussion: backup repository in cvs
Operating Systems Solaris backup repository in cvs Post 302119062 by zazzybob on Sunday 27th of May 2007 07:30:22 AM
Old 05-27-2007
It depends - do you have an init.d script for cvsd?
Code:
# ls /etc/init.d/*cvs*

If so, call the script with a "stop" argument, e.g.
Code:
# /etc/init.d/cvsd stop

If not, you may just have to kill cvsd (make sure you note the path and any arguments in case a control script doesn't exist)
Code:
# pargs `pgrep cvsd`
# pkill cvsd
# ps -ef | grep '[c]vsd' && pkill -9 cvsd

Then backup the CVSROOT
Code:
# tar cvf /path/to/backup.tar /path/to/cvsroot

Then start cvsd again with the init.d script, or using /path/to/cvsd plus any arguments (cvsd on my box isn't called with args...)

Cheers
ZB
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Repository Backup Using Unix

Hi All, Is there any unix command through which i can take informatica repository backup. We can take backup using the admin console of informatica but i am not able to do it using cusing unix command prompt. Thanks in advance (0 Replies)
Discussion started by: MANISH KU
0 Replies

2. Shell Programming and Scripting

Extraction of latest files from cvs repository

Hi everyone.. Anybody having idea to get the latest file from CVS repository through schell scripts. Thanks in advance. Regards shahid Bakshi (4 Replies)
Discussion started by: shahidbakshi
4 Replies

3. UNIX for Advanced & Expert Users

CVS: move part of repository (branch) to SVN server

Hi all, We have CVS server running for few years with absolutely no problems. Because of conditions not depending on me, I'm forced to move some part of our repository to another server (SVN). I need to move ONLY one branch from CVS server to SVN server. The branch must be moved with all... (7 Replies)
Discussion started by: +Yan
7 Replies

4. Programming

How to create a new file in a CVS repository

I have a coding project that I'm working on, and I'm tracking revisions using CVS. I'm working on a branch (branch1) at version 1.1.2.1. Anyway, I created a new C file in the directory for the project, but I can't commit it. The tutorial I read on CVS said that version numbers will be assigned... (6 Replies)
Discussion started by: Ultrix
6 Replies

5. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

6. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

7. Red Hat

CVS repository connecting error in Linux 5.3

Hi Friends, I configured CVS Repository in RHEL 5.3 Server. But connecting the CVS Repository get the error like. # cvs -d:pserver:cvs@localhost:/backup/cvs/cvsrep login Logging in to :pserver:cvs@localhost:2401/backup/cvs/cvsrep CVS password: cvs : connect to :2401 failed: Connection... (0 Replies)
Discussion started by: srinivas814
0 Replies

8. UNIX for Advanced & Expert Users

Trying to figure out the CVS repository server.

We have an issue where we are able to check out files from unix however not from windows. On Unix I have the cvs host set to /home/group/CVSROOT but when I try and access the folder from windows I get an exception that the server refuses connection. On unix the CVSROOT is a filer and not the... (0 Replies)
Discussion started by: jjohnson
0 Replies

9. Red Hat

Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia.

Most of my commands are returning this error on RHEL 6 64 bit: Also I tried installing many sofwtares, but it fails to correctly work. For example I treid installing dos2unix: # rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm 1:dos2unix warning: user mockbuild does not... (0 Replies)
Discussion started by: India_2014
0 Replies
cvsd(8) 						      System Manager's Manual							   cvsd(8)

NAME
cvsd - chroot wrapper to run 'cvs pserver' more securely. SYNOPSIS
cvsd [options] DESCRIPTION
cvsd is a wrapper program for cvs in pserver mode. it will run 'cvs pserver' under a special uid/gid in a chroot jail. cvsd is run as a daemon and is controlled through a configuration file (see cvsd.conf(5) ). It is relatively easy to configure and tools are provided for easily setting up a chroot jail (see cvsd-buildroot(8) ) and managing repositories (see cvsd-passwd(8) ). See the README for more information and details to setting up a chroot jail and repositories. OPTIONS
cvsd accepts the following options: -f, --config=FILE Use FILE as configfile (default is /etc/cvsd/cvsd.conf). -d, --debug Enable debugging mode. cvsd will not put itself in the background and sends verbose debugging info to stderr. Otherwise cvsd handles connections as usual. This option is for debugging purposes only. --help Display short help and exit. -V, --version Output version information and exit. SEE ALSO
cvsd.conf(5) cvsd-buildroot(8) cvsd-passwd(8) FILES
/etc/cvsd/cvsd.conf - the configuration file (see cvsd.conf(5) ) AUTHOR
Arthur de Jong <arthur@arthurdejong.org>. Version 1.0.24 Jun 2012 cvsd(8)
All times are GMT -4. The time now is 05:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy