From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 03:09:32 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D94137B401 for ; Fri, 25 Apr 2003 03:09:32 -0700 (PDT) Received: from aph2k.internal.aphnet.co.uk (mailgate.aphnet.co.uk [62.49.140.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id B172343F3F for ; Fri, 25 Apr 2003 03:09:30 -0700 (PDT) (envelope-from rob@aphnet.co.uk) Received: from robltop.aphnet.co.uk ([192.168.5.22]) by aph2k.internal.aphnet.co.uk with Microsoft SMTPSVC(5.0.2195.5329); Fri, 25 Apr 2003 11:06:30 +0100 Message-Id: <5.1.1.6.0.20030425110258.031b6b88@aph2k> X-Sender: rob@aph2k X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Fri, 25 Apr 2003 11:09:28 +0100 To: =?iso-8859-1?Q?=DClk=FC?= SAYILAN , freebsd-questions@FreeBSD.ORG From: Rob O'Donnell In-Reply-To: <696273044.20030425114508@kssgm.gov.tr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 25 Apr 2003 10:06:30.0593 (UTC) FILETIME=[57BE9310:01C30B12] Subject: Re: urgent X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 10:09:32 -0000 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.