From owner-freebsd-questions@FreeBSD.ORG Thu Nov 30 16:26:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2333C16A53E for ; Thu, 30 Nov 2006 16:26:41 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3BA4440E7 for ; Thu, 30 Nov 2006 16:14:42 +0000 (GMT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id kAUGChfJ004963; Thu, 30 Nov 2006 11:12:43 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id kAUGChA5004962; Thu, 30 Nov 2006 11:12:43 -0500 (EST) (envelope-from jerrymc) Date: Thu, 30 Nov 2006 11:12:42 -0500 From: Jerry McAllister To: Christian Walther Message-ID: <20061130161242.GC4725@gizmo.acns.msu.edu> References: <20061130112939.12787.qmail@web57808.mail.re3.yahoo.com> <456EE9E2.7070606@usm.cl> <14989d6e0611300647q3974e751hd84ac4e67c80cb0c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14989d6e0611300647q3974e751hd84ac4e67c80cb0c@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: Rachel Florentine , Marcelo Maraboli , freebsd-questions@freebsd.org Subject: Re: Data Recovery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 16:26:41 -0000 On Thu, Nov 30, 2006 at 03:47:53PM +0100, Christian Walther wrote: > I don't think that rsync can cope with hardlinks. > Best way to do a "backup" like this is: > > tar -clf - / | ( cd /ad2 ; tar -xf - ) > > The "-l" flag will stay on the specified filesystem. If you forget > this option tar (and any other command, even cp and rsync with their > respective option) will copy /ad2 into itself, e.g. /ad2/ad2, which > might lead to a kind of recursion. No. Tar isn't good enough. Use dump/restore. It is made for that. ////jerry > > BTW: No, there isn't any tool that might recover from a desaster like > the one you specified. Either the files you describe as being "fried" > have either been overwritten with some other content, or changed in > any other way. You need a backup to recover from this. ;) > _______________________________________________ > 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"