Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2001 11:38:26 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Scott Mitchell <scott@uk.freebsd.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Dump/restore from Linux to FreeBSD machine
Message-ID:  <20011107173825.GA51086@dan.emsphone.com>
In-Reply-To: <000701c167b0$380ff740$1680010a@msapama.apama.com>
References:  <000701c167b0$380ff740$1680010a@msapama.apama.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011107173825.GA51086>