recovery FreeBSD

Roland Smith rsmith at xs4all.nl
Sun Jan 13 04:09:54 PST 2008


On Sat, Jan 12, 2008 at 11:07:16PM -0800, mahdieh Saeed wrote:
> Hi,
> I have a question  about recovery.
> I removed one directory with "rm -r ".Is there any way to restore
> information that removed with "rm -r".

In short, everything that is part of the base system or ports can be
restored with some effort.

If it is a subdirectory of /usr/src/, you can restore it with csup(1).
If it is a subdirectory of /usr/ports you can restore it by updating
your ports tree. Other directories under /usr (except /usr/local) can be
restored by rebuilding and reinstalling the base system as described in
the handbook. If you have removed /usr/local or a subdirectory of it you
could reinstall all your ports.

If you removed (part of) your home directory or any other non-system
data directory, you'd better have a backup. 

If you have never made a backup of your own data, start now!

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080113/3356a062/attachment.pgp


More information about the freebsd-questions mailing list