backup repository in cvs

Thread Tools Search this Thread
Operating Systems Solaris backup repository in cvs
# 1  
Old 05-27-2007
backup repository in cvs


does any one know how can i take backup for reposirory in cvs ??
# 2  
Old 05-27-2007
Backup the CVSROOT directory of your repository. Sure, you need to take the repository offline so no write is possible during backing up.
# 3  
Old 05-27-2007
first , is there in cvs any command that take backup for repository

second , how can i made CVSROOT offline
# 4  
Old 05-27-2007
Are people logging into CVS remotely? Just stop cvsd.

Then tar, cpio, cp -Rp (i.e. whatever backup mechanism you choose) the CVSROOT.

# 5  
Old 05-27-2007
yes remotly , how can I stop access using cvsd
(can you give me an example)

copy the files from remotly or from repository directly
# 6  
Old 05-27-2007
It depends - do you have an init.d script for cvsd?
# ls /etc/init.d/*cvs*

If so, call the script with a "stop" argument, e.g.
# /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)
# pargs `pgrep cvsd`
# pkill cvsd
# ps -ef | grep '[c]vsd' && pkill -9 cvsd

Then backup the CVSROOT
# 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...)

# 7  
Old 05-27-2007
i dont have cvsd script can you send it to me

the way to start cvsd if the script not exist not clear can you explain it to me
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question

Featured Tech Videos