info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backup of cvs repository


From: ankush grover
Subject: Re: backup of cvs repository
Date: Thu, 29 Jun 2006 12:01:21 +0530

On 6/29/06, Nirav Jani <address@hidden> wrote:
What are the proper ways of taking backup of cvs repository so that when
ever i store it on a new machine/server it works same as it has worked
previously with all of the versions/branches/modules ?
 I think it should be enough if i convert the cvs repository in a tar file
and save it, is there still proper or better way to do this ?

Nirav


hey,

As you are using Linux you can backup on Linux through rsync.

I expect that this is generally what you want to use:

--exclude '#cvs*' --exclude ',*,'

If you feel you want something more specific, then perhaps:

--exclude '#cvs.lock' \
--exclude '#cvs.history.lock' \
--exlcude '#cvs.val-tags.lock' \
--exlcude '#cvs.rfl*' \
--exlcude '#cvs.pfl*' \
--exlcude '#cvs.wfl*' \
--exlcude ',*,' \
--exclude 'CVS'

This last entry above may depend on what your intent for the mirror
might be. Including the above would exclude the CVS/fileattr file where
advisory locks are kept.

#cvs.rfl.<hostname>.<pid>           - read locks
#cvs.wfl.<hostname>.<pid>           - write locks
#cvs.pfl.<hostname>.<pid>           - promotable locks
#cvs.rfl.<pid>                      - read locks
#cvs.wfl.<pid>                      - write locks
#cvs.pfl.<pid>                      - promotable locks
#cvs.history.lock.<hostname>.<pid>  - lock for the CVSROOT/history file
#cvs.history.lock.<pid>             - lock for the CVSROOT/history file
#cvs.val-tags.lock.<hostname>.<pid> - lock for the CVSROOT/val-tags file
#cvs.val-tags.lock.<pid>            - lock for the CVSROOT/val-tags file
,*,                                 - RCS lock file.
CVS/fileattr                        - watches and editors info

Whete <hostname> is likely to the string that gethostname() returns and
<pid> will be the process-id number of the process that is holding the

This information is given to me by a person named Mr. Mark. Look at
the archives you will get the more information.

http://lists.gnu.org/archive/html/info-cvs/2006-06/index.html

The thread was started on June 5, 2006 with the subject "backing up of
cvs repositories".

Regards

Ankush Grover




reply via email to

[Prev in Thread] Current Thread [Next in Thread]