You might be better off using dump. It does work over ssh (and rsh) and goes right to the tape drive of the remote machine. You have to setup RSA keys (I think) for ssh between the two hosts, but I used it a few years ago to back up all the servers to a central tape drive nightly.
If you absolutely need tar, you might want to NFS-mount box B onto box A, tar to the NFS-mount, then back up using tar. That's a much more manual process, but does leave you with a tar tape. I don't have the scripts anymore, but if you get stuck with dump, let me know and I can clear out some cobwebs. -Mark On Mon, Feb 25, 2002 at 01:00:49PM -0500, Thomas M. Albright wrote: > 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. > ***************************************************************** ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************
