From owner-freebsd-questions Fri Nov 9 6:25:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from calcon.calcon.net (calcon.net [63.149.52.2]) by hub.freebsd.org (Postfix) with ESMTP id 6302937B41C for ; Fri, 9 Nov 2001 06:25:48 -0800 (PST) Received: from calcon.net (vpn1.calcon.net [63.149.52.253]) by calcon.calcon.net (8.11.2/8.11.2) with ESMTP id fA9EOYK19758; Fri, 9 Nov 2001 08:24:35 -0600 Message-ID: <3BEBE767.B9FD5CD0@calcon.net> Date: Fri, 09 Nov 2001 08:25:43 -0600 From: Douglas Egan X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Scott Mitchell Cc: Dan Nelson , freebsd-questions@FreeBSD.ORG Subject: Re: Dump/restore from Linux to FreeBSD machine References: <000701c167b0$380ff740$1680010a@msapama.apama.com> <20011107173825.GA51086@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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 Doug Dan Nelson wrote: > > In the last episode (Nov 07), Scott Mitchell said: > > As the subject says, I'm trying to backup the contents of a large > > RAID array on a Debian Linux machine and restore it onto an even > > larger RAID on a FreeBSD box. I figured something like this would do > > the job: > > > > kakapo:/raid# dump -0 -f - /raid/export/cvs | \ > > ssh root@kokako 'cd /raid && restore -t -f - > restore.log' > > > > When I run this, I get: > > > > DUMP: Date of this level 0 dump: Wed Nov 7 17:07:50 2001 > > DUMP: Date of last level 0 dump: the epoch > > DUMP: Dumping /dev/md0 (/raid (dir /export/cvs)) to standard output > > DUMP: Label: none > > DUMP: mapping (Pass I) [regular files] > > cannot open /dev/tty: Device not configured > > Try adding the -t flag to your ssh line. > > -- > Dan Nelson > dnelson@allantgroup.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message