info-cvs
[Top][All Lists]
Advanced

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

Re: How To Backup All of CVS?


From: Matt Riechers
Subject: Re: How To Backup All of CVS?
Date: Fri, 28 Sep 2001 11:19:14 -0400

address@hidden wrote:
> 
> How do I grab  $CVSROOT?  Are there CVS commands that allow you to do this?
> Or, do you need to grab everything through FTP?   I haven't been able to
> find any type of CVS command that would allow me to grab it.

You can't backup a repository through cvs commands. The repository is just
another directory on the system. Back it up like you would any other directory.

> By the way, are there searchable CVS archives anywhere?

Check this email's headers for the main archive. You could also check
http://www.mail-archive.com/address@hidden/

> Just make a tarball of all the $CVSROOT, and you should be reasonably safe.
> Make a script to check for lock-files, and you should be even more safe
> (should be a pretty easy thing to do ... PS: I'm unemployed ;-)
> 
> Before overwriting or deleting older backups, you should check that the
> repository is not corrupted.  There does exist some script for this, though
> I don't have any references.
> 
> I also just hacked together a small and simple script that logs the md5sum
> of all files in the repository, and then checks that the older versions of
> the files are unmuted - though it does not yet check branches nor metadata.
> I might mail it to you if you're interessted (or anyone else that might be
> interested - I find it inappropriate to post a complete script to the
> mailing list, and I don't have IP access to publish it at the web
> somewhere).

-Matt



reply via email to

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