Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 16:17:21 -0500 (CDT)
From:      Nick Rogness <nick@rogness.net>
To:        Devin Smith <devin-freebsdquestions@rintrah.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: remote tar over ssh
Message-ID:  <Pine.BSF.4.21.0109211613010.7790-100000@cody.jharris.com>
In-Reply-To: <20010921204749.8573@mail.rintrah.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Sep 2001, Devin Smith wrote:

[snip]
> I have tried doing:
> 
> fbsd$ tar -b 64 -cvf - /tmp  | ssh root@backup dd of=/dev/ht0
> 
> but the tape drive does not seem to accept the data. It sounds as if
> the backup is going fine, but when I try to extract the data from the
> tape drive onto the linux machine:
> 
> backup$ tar -b 64 -xf /dev/ht0
> 
> nothing is on there.
> 
> I get the following error in my /var/log/messages:
> 
> Sep 21 16:39:50 backup sshd[8100]: Accepted publickey for ROOT from
> 10.0.0.5 port 4892 ssh2
> Sep 21 16:39:51 backup kernel: ide-tape: Reached idetape_chrdev_open
> Sep 21 16:40:03 backup kernel: ide-tape: ht0: use 32768 bytes as block
> size (512 used)
> 

	Give the obs=32768 option to the dd command.

Nick Rogness <nick@rogness.net>
 - Keep on Routing in a Free World...
  "FreeBSD: The Power to Serve!"


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?Pine.BSF.4.21.0109211613010.7790-100000>