On Mon, Jun 11, 2007 at 10:24:07PM +0200, Kyrre Nygård wrote:
>  Hello!
>  I'm just curious if there's a way to undo a rm -rf.
>  There has to be something eqivalent in FreeBSD to all those recovery tools?

Unless you've written new data to the disk, the old data is still
there. So yes it is possible to recover files. Google for "UFS recovery".

But unless you've made a backup (which you should) it won't be easy.

There is restore(8), in case you've made backups with dump(8). 

You could also set up a cron job to make nightly snapshots, and mount them
somewhere so you can access the filesystem as it existed at the time
the snapshot was taken. This way you don't have to mess around with
backup media.

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)

Attachment: pgpfBhivnZk8j.pgp
Description: PGP signature

Reply via email to