info-cvs
[Top][All Lists]
Advanced

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

Re: backing up of cvs repositories


From: ankush grover
Subject: Re: backing up of cvs repositories
Date: Mon, 5 Jun 2006 12:16:47 +0530


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'

hey Mr. Mark,

Thanks for your guidance and efforts. I was able to backup and restore
a cvs repository on a test machine.

The command is like this

rsyncz -avuptz --exclude '#cvs*' --exclude ',*,' --exclude 'CVS'
srcpath    destinationpath

a--> archive
z---> compress
v-->  verbose
u-->update
p--> preserve permissions
t--> preserve  times

On a test machine I created one repository, added a module made some
changes to the file, commited those changes to the repository. Took
the backup of that module, deleted that module  and then restore that
module into that repository again with the command "cp -r module"

Is this the right way of taking the backup and restoring the modules ?


Thanks & Regards

Ankush Grover




reply via email to

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