Is there a way to undelete?
rsmith at xs4all.nl
Mon Jun 11 20:53:50 UTC 2007
On Mon, Jun 11, 2007 at 10:24:07PM +0200, Kyrre Nygård wrote:
> 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
[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
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070611/18187874/attachment.pgp
More information about the freebsd-questions