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.conf(5)						      System Manager's Manual						      cvsd.conf(5)

NAME
cvsd.conf - configuration file for cvsd. DESCRIPTION
The file cvsd.conf contains the configuration information for running 'cvsd' (see cvsd(8) ). The file contains options, one on each line, specifying the workings of cvsd. OPTIONS
RootJail path This specifies the location of the chroot jail cvs should be run in. This directory should be initialized with the cvsd-buildroot script so it contains all the proper directories and binaries. If this option is not present in the configuration file or a value of 'none' (without quotes) is specified cvsd will run in the normal file system root. Uid uid This specifies which user id cvs should be run as. This can be a numerical id or a symbolic value. If no uid is specified cvsd will run under the uid it is started with. Gid gid This specifies which group id cvs should be run as. This can be a numerical id or a symbolic value. If no gid is specified cvsd will run under the gid it is started with. CvsCommand path This should be set to the location where the cvs command is located. Note that if you set up a RootJail this is relative to that directory, but should still start with a '/'. If you do not define this a default of '/bin/cvs' will be used if a chroot jail has been configured and otherwise it will be set '/usr/bin/cvs'. CvsArgs arg... Additional arguments to be passed to the cvs command, in addition to the default ones. You can pass the -R option to put cvs in read-only mode. Note that not all options can be used in pserver mode and error messages are not always very friendly. Nice num This specifies the nice value (on most systems ranging from -20 to 20) where the smaller the number (more negative) the higher the priority. If no value is specified the nice level of the program will not be altered. Umask mask This specifies a umask used by the cvs pserver when creating files. Specify as an octal value. If no value is specified the default umask of 027 will be used. Limit resource value Limits use of a certain resource to the cvs process. Note that resource limits will be set on the executed cvs command and not for the daemon. Resource may be one of: coredumpsize maixmum filesize of a coredump cputime maximum amount of seconds cputime consumed datasize maximum size of program's data segment filesize maximum size of files created memorylocked maximum amount of locked memory openfiles maximum number of open files (file descriptors) maxproc maximam number of processes (per user? max. children?) memoryuse maximum size of resident memory stacksize maximum stack size virtmem maximum amount of virtual memory allocated pthreads number of threads that the process may create Note that not all systems may support all resources specified here. If no limits are defined no extra limits will be enforced. If the system already specified limits for processes it may not be possible to broaden the limits. A value (resource limit) that is a size can be specified with a suffix of 'b' (bytes), 'k' (1024 bytes) or 'm' (1024*1024 bytes), where 'k' is default. Plain number values can also have the 'k' and 'm' suffixes, but the default is just the plain number. Time values can be formatted as 'mm:ss' or have a 'm' or 's' suffix where 's' is default. PidFile file This specifies the location the process id of the daemon is written. If no PidFile is specified the pid will not be written. /var/run/cvsd.pid is a good location for a pidfile. Listen address port This options specifies which addresses and ports cvsd should listen on for connections. The address value can be '*' (for binding all addresses) or a symbolic (host name), dotted quad or ipv6 address. The port value can be a numeric port number or a well known service ('cvspserver'). This option can be supplied multiple times. The address and port fields can be combined in the usual ways by separating them with a ':' or a '.', optionally surrounding the address part by square brackets ('[' and ']'). Some examples: # listen on all interfaces and all protocols on port 2401 Listen * 2401 # listen on IPv6 port 100 Listen :: 100 # listen on localhost Listen localhost cvspserver # listen on an ipv6 address Listen [fe80::2a0:d2ff:fea5:e9f5]:2401 MaxConnections num This specifies the maximum number of connections that can be handled simultaneously. When the value 0 (the default) is supplied no limit is used. Log scheme/file logvelel This option specifies the way logging is done. As first argument either none, syslog or a file name beginning with a '/' may be specified. The second argument is optional and specifies the loglevel. The loglevel may be one of: crit, error, warning, notice, info (default) or debug. All messages with the specified loglevel and higher are logged. This option can be supplied multiple times. If this option is omitted syslog info is assumed. Repos path This option specifies which repositories can be used. The value is passed as a --allow-root=path parameter to cvs. The path should be relative to the specified RootJail and should start with a '/'. This option can be supplied multiple times, but should be specified at least once. FILES
/etc/cvsd/cvsd.conf - default location for the configuration file /var/run/cvsd.pid (or other localtion) - the file where the process id is saved SEE ALSO
cvsd(8) AUTHOR
Arthur de Jong <arthur@arthurdejong.org>. Version 1.0.24 Jun 2012 cvsd.conf(5)
All times are GMT -4. The time now is 05:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy