From owner-freebsd-isp Sat Mar 14 03:25:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA21867 for freebsd-isp-outgoing; Sat, 14 Mar 1998 03:25:57 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) 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 DAA21856 for ; Sat, 14 Mar 1998 03:25:54 -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 LAA13173; Sat, 14 Mar 1998 11:25:52 GMT (envelope-from kpielorz@tdx.co.uk) Message-ID: <350A6940.FA92113F@tdx.co.uk> Date: Sat, 14 Mar 1998 11:25:52 +0000 From: Karl Pielorz Organization: TDX X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: Benedikt Stockebrand CC: isp@FreeBSD.ORG Subject: Re: Fedup with Dumps & NC... References: <34FD69DB.5B2D7C25@tdx.co.uk> <87afawrsye.fsf@devnull.ruhr.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Benedikt Stockebrand wrote: > > 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. I thought of this yesterday - and it appears to work... Why would this not be 'reliable'? - The only thing I can think of is if dd gets a number of 'short' writes - it might do something nasty like pad the block (but from reading the man pages I kinda think it will just keep doing short writes if it has to - until either EOF or it's got enough to make a full block). I've done about 8 successful dump & restores now using: dump 0uaf - /usr2 | nc -w 40 rmote 4000 (and on the remote) nc -w 40 -l -p 4000 | dd bs=32768 >/dev/nrst0 I decided to use 32k blocks as 'restore' previously complained "1648 is not a multiple of dump's 1024k blocksize", and 32k blocks go a lot faster than 1k's... ;-) I have another inline program I can run all this through that does encryption & compression on one machine, and decryption & decompression on the other - I just really want to keep it 'as simple as possible', and not have to setup things like Amanda etc. on new systems just to do a restore... ;-) > BTW, your msg had these headers: > Either the date setting on lorca-tx is off by a couple days or your > mail system needs daaays to deliver its stuff. It got stuck in my mail queue... I run sendmail from inetd, and the copy that's meant to run and dequeue the outgoing mail spool every 10 minutes got killed :-) Ho hum... (re. Inetd, please don't ask it's a _long_ story...) Regards, Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message