Re: backing up cvs files

2004-04-23 Thread Bill Moran
dave wrote:
Hello,
I've got a cvs repository i'd like to move to another system, but i am
uncertain as to how to back it up, any advice helpful.
You can back up your CVS repository just like any other files.  It would make
sense to ensure that nobody is using it when you do so.
Just find out where CVSROOT is on that machine, and back that up.

Also, i've got an anonymous user in the file READERS, however he can
still commit changes to the repository, i am speculating this might be a
permissions issue, can anyone confirm this?
Unless I remember wrong, cvs security is based on file permissions.  So
be sure that the anonymous user only has read access to the files in the
repository (I could be wrong on this, I apologize if I lead you astray).
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: backing up cvs files

2004-04-23 Thread Giorgos Keramidas
On 2004-04-23 02:44, dave <[EMAIL PROTECTED]> wrote:
> Hello,
> I've got a cvs repository i'd like to move to another system, but i am
> uncertain as to how to back it up, any advice helpful.
> Also, i've got an anonymous user in the file READERS, however he can
> still commit changes to the repository, i am speculating this might be a
> permissions issue, can anyone confirm this?

CVS doesn't store information in any special filesystem metadata area.
The CVSROOT files are plain text files, whose normal attributes (owner,
permissions, creation-modification and access times, etc.) are all that
needs to be backed up.

I have moved CVSROOT hierarchies many times, either in different places
within the same filesystem or in other filesystems/machines altogether.
All you should need to do is:

a. Make sure nobody uses the CVSROOT in question while you back it up.

   This is important, to avoid taking a backup copy of files that are
   either locked by a running cvs client or are incomplete, since
   they're being updated at the time you start backing up.

b. Use your favorite archiver to take a backup copy, i.e.:

% cd $CVSROOT
% tar cvf cvsroot.tgz .

That should be enough :)

- Giorgos

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"