Date: Mon, 11 Jun 2007 22:53:47 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Kyrre =?iso-8859-15?Q?Nyg=E5rd?= <kyrreny@broadpark.no> Cc: questions@freebsd.org Subject: Re: Is there a way to undelete? Message-ID: <20070611205347.GA25656@slackbox.xs4all.nl> In-Reply-To: <466DAF67.6080804@broadpark.no> References: <466DAF67.6080804@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
--azLHFNyN32YCQGCU Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 11, 2007 at 10:24:07PM +0200, Kyrre Nyg=E5rd wrote: > Hello! >=20 > 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 too= ls? 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).=20 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. Roland --=20 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) --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGbbZbEnfvsMMhpyURAtTNAJ9girAsuFPLOUGj6Fdjn4h4ewkT/wCgsEIz OzU3Wqn6h/KNygGZwxO1Ok8= =Kgqf -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070611205347.GA25656>