From owner-freebsd-questions Sat Nov 10 2:12: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id 67B9C37B429 for ; Sat, 10 Nov 2001 02:11:59 -0800 (PST) Received: from lungfish.ntlworld.com ([62.253.148.208]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20011110101157.BRS11190.mta06-svc.ntlworld.com@lungfish.ntlworld.com>; Sat, 10 Nov 2001 10:11:57 +0000 Received: from boog.goatsucker.org (boog.goatsucker.org [192.168.1.3]) by lungfish.ntlworld.com (8.11.3/8.11.3) with ESMTP id fAAABb838394; Sat, 10 Nov 2001 10:11:37 GMT (envelope-from scott@boog.goatsucker.org) Received: (from scott@localhost) by boog.goatsucker.org (8.9.3/8.9.3) id KAA03924; Sat, 10 Nov 2001 10:11:07 GMT (envelope-from scott) Date: Sat, 10 Nov 2001 10:11:06 +0000 From: Scott Mitchell To: Douglas Egan Cc: Dan Nelson , freebsd-questions@FreeBSD.ORG Subject: Re: Dump/restore from Linux to FreeBSD machine Message-ID: <20011110101106.A442@localhost> References: <000701c167b0$380ff740$1680010a@msapama.apama.com> <20011107173825.GA51086@dan.emsphone.com> <3BEBE767.B9FD5CD0@calcon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <3BEBE767.B9FD5CD0@calcon.net>; from degan@calcon.net on Fri, Nov 09, 2001 at 08:25:43AM -0600 X-Operating-System: FreeBSD 4.1-RELEASE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 09, 2001 at 08:25:43AM -0600, Douglas Egan wrote: > Since you are going from one machine to another, and one filesystem to > another, can't you just use tar via nfs. > > >From 'man tar' > > To move file hierarchies, use a command line like this: > > tar -cf - -C srcdir . | tar xpf - -C destdir That would probably have worked too... the reason I used dump is just that various things I've read advised against tar for this kind of thing, because it doesn't handle sparse files, oddball permissions, device nodes, etc. too well. There probably aren't any of these on the disk in question, but I didn't want to grovel through the whole 50+GB of it to find out, then have to deal with any special cases that came up :-( Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message