>    Date: Fri, 11 May 2001 11:08:59 -0600
 >    From: Paul Brannigan <[EMAIL PROTECTED]>
 > Subject: GNU tar syntax (or How does amanda do that?)
 > 
[snip]
 > Yet when I try to do this at the command line I get
 > tar complaints.  Am I using the wrong syntax?
 > 
 > solaris-host>#/usr/local/bin/tar -cvf linux-host:/dev/nst0 /home
 > sh: unknown host
 > /usr/local/bin/tar: Cannot open linux-host:/dev/nst0: I/O error
 > /usr/local/bin/tar: Error is not recoverable: exiting now
 > 
 > Why the odd error: "sh: unknown host"
[snip]

I don't think this has anything to do with GNU tar except that GNU
 tar is calling rmt/rsh.

Try the following and see what happens...

/usr/local/bin/tar -cvf - /home | rsh linux-host dd of=/dev/nst0

(you may want to specify '-b blocksize' to the tar command... and
  'bs=blocksize' to the dd)

Reply via email to