From owner-freebsd-questions Wed Nov 7 9:38:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 0324137B405 for ; Wed, 7 Nov 2001 09:38:29 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id fA7HcQJ03435; Wed, 7 Nov 2001 11:38:26 -0600 (CST) (envelope-from dan) Date: Wed, 7 Nov 2001 11:38:26 -0600 From: Dan Nelson To: Scott Mitchell Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Dump/restore from Linux to FreeBSD machine Message-ID: <20011107173825.GA51086@dan.emsphone.com> References: <000701c167b0$380ff740$1680010a@msapama.apama.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000701c167b0$380ff740$1680010a@msapama.apama.com> User-Agent: Mutt/1.3.23.1i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 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