Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 19:44:56 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Ruel Luchavez <ruel.freebsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Recover Deleted File FreeBSD 7.0
Message-ID:  <20080814174456.GA49444@slackbox.xs4all.nl>
In-Reply-To: <ee9dc2b40808140155q5c71564cuda63b669c6450249@mail.gmail.com>
References:  <ee9dc2b40808140155q5c71564cuda63b669c6450249@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 14, 2008 at 04:55:37PM +0800, Ruel Luchavez wrote:
> Hi List,
>=20
> Do you have an idea how to recover a deleted directory or files in freebsd
> 7.0?

For starters, you should remount the filesystem that contains the
directory as read-only _immediately_ after the accident. Otherwise the
blocks containing parts of some of the the deleted files might be
overwritten, in which case complete retrieval is impossible.

> I'm very sad that one of the important directory in my server was deleted
> accidentally.

Of course the best way to recover data is to restore it from a
backup. If you don't have a backup, consider this a lesson why you
should.

> the command is use to delete the directory is:
>=20
> rm -r folder
>=20
>=20
> Any idea guys how to recover it?

Try the sysutils/sleuthkit port?

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)

--FCuugMFkClbJLl1L
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkikbxgACgkQEnfvsMMhpyXVqwCgp8h8TQr+/JZ0WLVKBeVfVeZA
wHUAn0aRfO8fNRY99Rv/of4BxqbYSJ31
=J2Um
-----END PGP SIGNATURE-----

--FCuugMFkClbJLl1L--



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