General discussion

Locked

tar across a network

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

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

tar across a network

by cavedweller In reply to tar across a network

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?

Collapse -

tar across a network

by mohand In reply to tar across a network

Poster rated this answer

Collapse -

tar across a network

by cdilipb In reply to tar across a network

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

Collapse -

tar across a network

by mohand In reply to tar across a network

Poster rated this answer

Collapse -

tar across a network

by jdogg In reply to tar across a network

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

Collapse -

tar across a network

by mohand In reply to tar across a network

Poster rated this answer

Collapse -

tar across a network

by rajnet88 In reply to tar across a network

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

Collapse -

tar across a network

by mohand In reply to tar across a network

Poster rated this answer

Collapse -

tar across a network

by ustutz In reply to tar across a network

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.

Collapse -

tar across a network

by mohand In reply to tar across a network

Poster rated this answer

Back to Linux Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums