Date: Fri, 09 Nov 2001 08:25:43 -0600 From: Douglas Egan <degan@calcon.net> To: Scott Mitchell <scott@uk.freebsd.org> Cc: Dan Nelson <dnelson@allantgroup.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Dump/restore from Linux to FreeBSD machine Message-ID: <3BEBE767.B9FD5CD0@calcon.net> References: <000701c167b0$380ff740$1680010a@msapama.apama.com> <20011107173825.GA51086@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BEBE767.B9FD5CD0>