From owner-freebsd-questions Wed Nov 7 10:27: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.totalise.co.uk (mail.totalise.co.uk [217.197.192.130]) by hub.freebsd.org (Postfix) with ESMTP id 216A237B41F for ; Wed, 7 Nov 2001 10:27:01 -0800 (PST) Received: from ukcamw041 [195.153.206.226] (scott.mitchell@mail.totalise.co.uk) by mail.totalise.co.uk; Wed, 7 Nov 2001 18:25:27 +0000 X-WM-Posted-At: mail.totalise.co.uk; Wed, 7 Nov 01 18:25:27 +0000 Message-ID: <000d01c167b9$bf924750$1680010a@msapama.apama.com> From: "Scott Mitchell" To: "David Kirchner" , "Flemming Froekjaer" Cc: References: <20011107100937.B44499-100000@localhost> Subject: Re: Dump/restore from Linux to FreeBSD machine Date: Wed, 7 Nov 2001 18:26:41 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 ----- Original Message ----- From: "David Kirchner" To: "Flemming Froekjaer" Cc: "Scott Mitchell" ; Sent: Wednesday, November 07, 2001 6:11 PM Subject: Re: Dump/restore from Linux to FreeBSD machine > On Wed, 7 Nov 2001, Flemming Froekjaer wrote: > > > Scott Mitchell wrote: > > > > >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: > > > > > I can't find it right now, but I'm sure that you can't use dump/restore > > to move files between Linux and FreeBSD. > > dump works on file systems, not files, and the file system is different > > on the 2 OS. > > > > \Flemming > > It works okay in this case because you're running the original dump on > FreeBSD. restore knows how to read the dump either way (it's standard > 4.4BSD restore). The only thing that is a problem, I think, is the ffs > extended flags. I don't know if dump supports them, but I'm sure that > restore on Linux does not. (However, if you ran the restore process on the > FreeBSD box this may avoid the problem). Perhaps I didn't explain the setup quite well enough: The source filesystem is an ext2 on the Debian box. The destination is an ffs on the FreeBSD box. I'm running dump on the Debian box and restore on the FreeBSD box, with an ssh tunnel between them. If I do the dump to a file (or a tape, I guess) and restore from that, everything works -- I end up with exactly what I expect on the FreeBSD side. Unfortunately there probably isn't quite enough disk to the whole thing that way. Plus I'd just like to know why the obvious way doesn't work :-) Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message