From owner-freebsd-isp Fri Mar 13 14:01:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24785 for freebsd-isp-outgoing; Fri, 13 Mar 1998 14:01:45 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from mail.ruhrgebiet.individual.net (in-ruhr.ruhr.de [141.39.224.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA24778 for ; Fri, 13 Mar 1998 14:01:42 -0800 (PST) (envelope-from bs@devnull.ruhr.de) Received: (from admin@localhost) by mail.ruhrgebiet.individual.net (8.8.5-r-beta/8.8.5) with UUCP id WAA03990; Fri, 13 Mar 1998 22:41:26 +0100 (MET) Received: from rm.devnull.ruhr.de [192.168.22.75] by devnull.ruhr.de with smtp (Exim 1.73 #1) id 0yD6zb-0000IA-00; Thu, 12 Mar 1998 13:21:47 +0100 Received: from bs by rm.devnull.ruhr.de with local (Exim 1.73 #1) id 0yD798-0000BX-00; Thu, 12 Mar 1998 13:31:38 +0100 To: Karl Pielorz Cc: isp@FreeBSD.ORG Subject: Re: Fedup with Dumps & NC... References: <34FD69DB.5B2D7C25@tdx.co.uk> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit From: Benedikt Stockebrand Date: 12 Mar 1998 13:31:37 +0100 In-Reply-To: Karl Pielorz's message of "Wed, 04 Mar 1998 14:48:59 +0000" Message-ID: <87afawrsye.fsf@devnull.ruhr.de> Lines: 60 X-Mailer: Gnus v5.5/XEmacs 20.3 - "Vatican City" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Karl Pielorz writes: > All I want to be able to do is the following: > > > machine-a> dump tuaf - /usr2 | nc -w 20 machine-b 4000 > > then on Machine B, > > machine-b> nc -l -w 20 -p 4000 >/dev/nrst0 > > > And backup Machine A onto Machine B, with as little fuss as possible, i.e. no > amanda, no rmt etc... > > This 'appears' to work, until you try a restore - at which point you get > messages such as: > > machine-b> restore tf /dev/nrst0 > Tape block size (1440) is not a multiple of dump block size (1024) Are you using the same kind of OS on both machines? IIRC some use a default 1k block size, others use different sizes. What *might* help is to use (local)# dump [...] | dd bs=1k | nc [...] (remote)# nc [...] | dd bs=1k of=/dev/nrst0 to enforce block boundaries (but I wouldn't rely on it). And try the -b option to dump, too. My preferred method is to use ssh, however. I just do something like # dump [...] | ssh remote cat \>/dev/nrst0 for backups. And ssh is one of the top choices for managing a remote machine anyway. BTW, your msg had these headers: | Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) | by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA12414 | for ; Wed, 11 Mar 1998 01:09:20 -0800 (PST) | (envelope-from kpielorz@tdx.co.uk) | Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) | by caladan.tdx.co.uk (8.8.7/8.8.7) with ESMTP id OAA01142 | for ; Wed, 4 Mar 1998 14:48:59 GMT | (envelope-from kpielorz@tdx.co.uk) Either the date setting on lorca-tx is off by a couple days or your mail system needs daaays to deliver its stuff. So long, Ben -- Ben(edikt)? Stockebrand --- Un*x system administrator looking for a job To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message