Discussion Locked

tar across a network

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need a pathname inwhich to tar a dbf foles across a network to an 8mm drive on my desk.
Command console only.

11 replies

by cavedweller

How about a few clues?

1. What OS are you using?

2. What is the name of your machine?

3. What is the name of the tape drive?

by cdilipb

To copy files across the network :
% tar cvfb - 20 files | rsh host dd of=/dev/rmt/0 obs=20b

to extract files :
%rsh -n host dd if=/dev/rmt/0 bs=20b |tar xvBfb - 20 files

by jdogg

Why not ftp them across the network and then dd them onto the tape device?

by rajnet88

Hi
Why don't you configure a NFS server
and mount remote host filesystem to your local host using automount configuration

then everything is same as taking a backup using tar on local host

All the best

by ustutz

Answer 2 looks like the correct syntax, but: First you need host equivalency between the two hosts. I.e., configure either /etc/hosts.equiv (prefered!) on both boxes, or .rhosts files in each of the user home directories. Then the user accounts (name, id, and password) have to match on the two boxes - unless you are using NIS / NIS+?? Just a nickel thought: I know Sun uses "rsh", but HP uses "remsh". Not sure about IRIX.

This discussion is closed to new replies.