Skip site navigation (1)Skip section navigation (2)
Date:      12 Mar 1998 13:31:37 +0100
From:      Benedikt Stockebrand <benedikt@devnull.ruhr.de>
To:        Karl Pielorz <kpielorz@tdx.co.uk>
Cc:        isp@FreeBSD.ORG
Subject:   Re: Fedup with Dumps & NC...
Message-ID:  <87afawrsye.fsf@devnull.ruhr.de>
In-Reply-To: Karl Pielorz's message of "Wed, 04 Mar 1998 14:48:59 %2B0000"
References:  <34FD69DB.5B2D7C25@tdx.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Karl Pielorz <kpielorz@tdx.co.uk> 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 <isp@freebsd.org>; 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 <isp@freebsd.org>; 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



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