Backup from a PIPE to a remote tape

Uwe Hentzschel <[email protected]>
Newsgroups gmane.comp.db.sapdb.general
Message-ID <[email protected]>
Hi,

I use the tipps from
 
http://listserv.sap.com/pipermail/sapdb.general/2002-June/029470.html .

But now i want to use a remote tape ( LTO Ultrium 2 ). 
The following instruction works for me ( **local tape** ).

cat /tmp/pipe | gzip -q | dd of=/dev/st0 bs=10240

Now I want redirect to the remote tape.

cat /tmp/pipe | gzip -q | ssh backup@sapi01 dd of=/dev/st0 bs=10240

I allways get:
  dd: writing `/dev/st0': Invalid argument
  4+6 records in
  4+5 records out
  13+32 Records ein
  13+31 Records aus

And in the logfile i read:
  Aug 20 17:12:50 sapi01 kernel: st0: Write not multiple of tape block size.


Can someone  help me please !

-uhe

-- 
Uwe Hentzschel                                                       
Schmiedewerke Gröditz GmbH
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.