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: Rebecca . R . Hepper
Subject: Re: How To Backup All of CVS?
Date: Fri, 28 Sep 2001 08:49:36 -0500

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.

By the way, are there searchable CVS archives anywhere?





Tobias Brox <address@hidden>@gnu.org on 09/26/2001 12:20:59 PM

Sent by:  address@hidden


To:   address@hidden
cc:   address@hidden

Subject:  Re: How To Backup All of CVS?


address@hidden - Wed at 11:14:12AM -0500]
> I would like to backup all of CVS nightly using a cronjob.  I want to be
> able to restore CVS to its original state in case something happens to
our
> server.  The problem is, I don't know exactly what I need to grab from
CVS
> in order to be able to re-create it.  I believe I need the RCS files (the
> history files with the ,v at the end) but is there other stuff I also
need?
> How do I checkout or grab the RCS files?

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

--
Unemployed hacker
Will program for food!
http://ccs.custompublish.com/

_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs






reply via email to

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