Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2003 08:51:02 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        epbox@yandex.ru
Cc:        freebsd-questions@freebsd.org
Subject:   Re: restore deleted files
Message-ID:  <3EA3E936.8010205@potentialtech.com>
In-Reply-To: <200304211419.42390.epbox@yandex.ru>
References:  <200304211419.42390.epbox@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Vladik Kozin wrote:
> Accidentally I did rm *.* as root in one of my users directory :( Luckily all 
> hidden files and all directories survived but I guess all files with 
> extentions have been deleted. I bet those files can somehow be restored? I 
> searched archives and found only some mentioning about ffsrecov port. Will it 
> do the thing or do I need smth else?

This comes up off and on.

Yes, it is possible to undelete deleted files on FreeBSD's filesystem.  No, to
my knowledge there is no port or program that will just do it for you.  In
order to undelete those files you will need to have a good understanding of
how FFS works, and some luck.  Search google for undelete and you'll find a
few descriptions of the process.

The best way to undelete the files is to restore them from backup.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EA3E936.8010205>