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: John Minnihan
Subject: Re: CVS - Recovery of repository directory
Date: Thu, 05 Jul 2001 08:06:06 -0700

If it was cvs-removed, re-adding it in place should resurrect it.

If it was directly deleted inside the repository itself  (i.e. rm -f Dir
) you will have to do additional work.  You're best off to go get your
tape backups (you have tape backups, right?).

If the repository is on a Windows box and the directory was deleted
inside Explorer, it may be in the Recycle bin.  If so, you may simply
restore it from the Recycle bin.

If you must recreate it by hand (you have no backup tape), then seed it
with the contents of someone's working directory that still has the
deleted directory in it.

For example, do a checkout now. The newly created working dir will not
have the deleted dir.  Then, copy over the dir and contents of the
directory noted above (the checked out copy of the directory that was
deleted)  Now cvs add the directory and cvs add all the files in it.

Using this technique will bring you back up-to-date, but your revision
history for that directory's files will be gone.

I'll let others in this forum speak to prevention techniques.

address@hidden wrote:

> 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?

_____________________________________
John Minnihan
mailto:address@hidden
http://www.freepository.com





reply via email to

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