Quick & dirty:
tar cf - files | ssh B 'dd if=- of=/dev/st0'
or 
ssh A tar cf - files | dd if=- of=/dev/st0
or something like that.

Tar can work with rmt and there's probably a way to make that work with 
ssh, but I'm not sure how.  Probably something like

On A:
ssh -L 441:B:441 /bin/sleep 9999
tar cf localhost:/dev/st0 files

This would (I think) try to backup to rmt (port 441) on localhost (A) which 
is forwarded via ssh to B's rmt & then to /dev/st0.

You might also play with GNUtar's -rsh-command=ssh too.



"Thomas M. Albright" said:
>To all you tar gurus out there, I have a question.
>
>On box A (192.168.0.2) I have data that badly needs backing up. On box B
>(192.168.0.9) I have a tape drive.
>
>Can I use tar, over ssh, to back up box A to the tape on B?
>
>Typically I just `tar -cvzf file.tar.gz directory` I've never used a
>tape drive locally, much less remotely, so I'm comparitavely clue-free
>right now.
>
>The man page is rather useless, and info pages have never failed to 
>boggle me.
>
>"Help me Obi-Wan! You're my only Hope!"
>
>-- 
>Thomas M. Albright (Linux user number 234357)
>  Amendment IV
>     The right of the people to be secure in their persons, houses, 
>     papers, and effects, against unreasonable searches and seizures, 
>     shall not be violated, and no warrants shall issue, but upon 
>     probable cause, supported by oath or affirmation, and particularly
>     describing the place to be searched, and the persons or things to 
>     be seized.
>
>
>*****************************************************************
>To unsubscribe from this list, send mail to [EMAIL PROTECTED]
>with the text 'unsubscribe gnhlug' in the message body.
>*****************************************************************
>

-- 
-------
Tom Buskey



*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to