Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2003 11:09:28 +0100
From:      Rob O'Donnell <robert@aphnet.co.uk>
To:        =?iso-8859-1?Q?=DClk=FC?= SAYILAN <ulku.sayilan@kssgm.gov.tr>, freebsd-questions@FreeBSD.ORG
Subject:   Re: urgent
Message-ID:  <5.1.1.6.0.20030425110258.031b6b88@aph2k>
In-Reply-To: <696273044.20030425114508@kssgm.gov.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:45 25/04/2003 +0300, =DClk=FC SAYILAN wrote:

>I have delete accidently my files that is in oen directory with this=20
>command...
>
>rm  -rf  ?*
>
>but I have to recover it... because a lots of document lost...
>
>I can I do for recovering?
>

Do a search on the archives for "undelete" .. this one popped up for me:
http://www.ccl.net/cca/software/UNIX/recover-files-after-rm/index.shtml

but basically, if it's gone, it's gone.  If you've written anything to the=
=20
filesystem
since the delete, there's a fair chance the data has been overwritten=
 already.

I would recommend restoring from backups.  If you don't already do them,=
 then
look on this as a learning experience, and start doing them in future. =
 Having
been bitten myself, I now have a 120Gb IDE in my server, taking a copy every
night using pdumpfs (in ports).  works a charm,and substantially cheaper=
 than
a 40Gb tape drive, which I'd have needed otherwise.  With the drive only=
 ever
mounted for the backup, and unmounted afterwards, it's not very likely to=
 get
trashed by anything else.





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