info-cvs
[Top][All Lists]
Advanced

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

RE: CVS - Recovery of repository directory


From: Alleman, Lowell
Subject: RE: CVS - Recovery of repository directory
Date: Thu, 5 Jul 2001 18:40:23 -0400

I wrote up a quick little bash script that runs every hour (cron) which will
backup the whole repository (tar.gz) if any changes have been made during
the past hour.  (Our cvs repository is not frequently used.)  The script is
set to keep the last 5 or so copies, just in case I (or a coworker) do
something we regret.

You may want to think about implementing such a script or your system too.
If you'd like, I'll send you a copy of my hourly backup script.

Well, hope everything works out recovering your repository.

Lowell C. Alleman
address@hidden
Martin's Famous Pastry Shoppe



> -----Original Message-----
> From: Lamar Seifuddin [SMTP:address@hidden
> Sent: Thursday, July 05, 2001 10:44 AM
> To:   Rajesh Patwardhan; address@hidden
> Subject:      Re: CVS - Recovery of repository directory
> 
> Thanks for responding to my email.
> 
> =====================================
> 
> I'm afraid it was a 'rm -rf' on the directory.  Someone thought
> he was in his working directory.
> 
> I figured I'd have to go to Sys Admin to recover it.
> 
> 
> thanks, anyway
> 
> Lamar
> 
> 
> Rajesh Patwardhan wrote:
> 
> >
> >
> > 1) if there is a backup of the system from the previous day.
> > Assuming that 1 is not the case then
> > 2) if you did a cvs rm then the history should be still there so if
> > you check out source from  previous day should do it. cvs co -D "1 day
> > ago" module_name.
> >
> > else it is like a rm -rf on dir then source is lost.
> > Rajesh
> >
> > -----Original Message-----
> > From: Lamar Seifuddin [mailto:address@hidden
> > Sent: Thursday, July 05, 2001 9:54 AM
> > To: address@hidden
> > Subject: CVS - Recovery of repository directory
> >
> > All,
> >
> > Questions:
> >
> > 1.  Is there a way to recover a directory in the repository that was
> > accidently deleted?
> >
> > 2.  Is there a way to prevent this from happening?
> >
> > No.....I didn't do it.    :-)
> >
> > thanks,
> >
> > Lamar
> >
> > _______________________________________________
> > Info-cvs mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/info-cvs
> 
> 
> _______________________________________________
> 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]