From owner-freebsd-questions@FreeBSD.ORG Sun Sep 8 16:18:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 391D6F39 for ; Sun, 8 Sep 2013 16:18:10 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from know-smtprelay-omc-5.server.virginmedia.net (know-smtprelay-omc-5.server.virginmedia.net [80.0.253.69]) by mx1.freebsd.org (Postfix) with ESMTP id 9E4F92533 for ; Sun, 8 Sep 2013 16:18:09 +0000 (UTC) Received: from MERCURY.universe.galaxy.lcl ([94.168.171.147]) by know-smtprelay-5-imp with bizsmtp id NgGz1m00F3B9ubA01gGz8y; Sun, 08 Sep 2013 17:16:59 +0100 X-Originating-IP: [94.168.171.147] X-Spam: 0 X-Authority: v=2.0 cv=BfSAScR2 c=1 sm=1 a=6vWPA74tvMDLGsIR8HQNSQ==:17 a=QHp6WtfiLOUA:10 a=OMdUhd4NiskA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=6dG_nmYyAAAA:8 a=H9zS46p3heEA:10 a=6I5d2MoRAAAA:8 a=ivkwRA_Cz-kzx3ROIUUA:9 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=6vWPA74tvMDLGsIR8HQNSQ==:117 Received: from MERCURY.universe.galaxy.lcl ([::1]) by MERCURY.universe.galaxy.lcl ([::1]) with mapi id 14.02.0347.000; Sun, 8 Sep 2013 17:16:55 +0100 From: Graeme Dargie To: FreeBSD Questions Subject: RE: ufs recovery Thread-Topic: ufs recovery Thread-Index: AQHOrHAF5qunRdKqg0mMw86J3d1S3pm8AlEQ Date: Sun, 8 Sep 2013 16:16:53 +0000 Message-ID: <14980AB869AD6B47A8803DB297CD21923F3FC804@MERCURY.universe.galaxy.lcl> References: <58B8F61A39614B629030FE4BE8DDF33B@yahoo.com> In-Reply-To: <58B8F61A39614B629030FE4BE8DDF33B@yahoo.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Sep 2013 16:18:10 -0000 Assuming the disk has not been written to, then making a full DD image of t= he drive is your 1st step, then make a copy of that DD image and store it s= omewhere safe in case something goes wrong with the one you are working on.= You can try Foremost which can recover data even deleted stuff from a DD i= mage, there was another package that works on the command line but I cannot= recall the name of it just now. Your success rate will depend on the type = of data you are trying to recover, from experience foremost works better on= certain types of files.=20 Regards Graeme Dargie -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f= reebsd.org] On Behalf Of Laszlo Danielisz Sent: 08 September 2013 09:47 To: FreeBSD Questions Subject: ufs recovery Hi, By mistake I forgot to edit my crontab on my FreeBSD 8.3 after I took out o= ne of the hard drives. I had a little rsync script which I used to synchronise a directory between= those two hard drives, because one of the hard drives were not present any= more and rsync had the --delete parameter I end up deleting the whole direc= tory, of course with precious informations.=20 I have ufs on the hdd, after the "accident" I've turned off the computer to= avoid any writings on the disk. Do you have any idea how can I recover the lost directory?=20 Thank you! Laci _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman= /listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= "