[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How To Backup All of CVS?
From: |
Tobias Brox |
Subject: |
Re: How To Backup All of CVS? |
Date: |
Wed, 26 Sep 2001 21:20:59 +0400 |
User-agent: |
Mutt/1.0.1i |
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/
- How To Backup All of CVS?, Rebecca . R . Hepper, 2001/09/26
- RE: How To Backup All of CVS?, Michael Thiele, 2001/09/26
- Re: How To Backup All of CVS?, Kaz Kylheku, 2001/09/26
- Re: How To Backup All of CVS?, Rebecca . R . Hepper, 2001/09/28
- Re: How To Backup All of CVS?, Kaz Kylheku, 2001/09/28
- Re: How To Backup All of CVS?, Dennis Jones, 2001/09/29