ITEM: CL8093L

remote tar archive


Question:
how do I create a tar to a remote tape device?
.Assuming the remote tape drive is an 8mm, try the following ;
on the target machine
     make sure the blocksize = 1024
.on the source machine
     tar -cvf- ./home | rsh \ -l user "dd of=/dev/rmt0 bs=1024"
.this should be all the syntax you need for a successful tar to a remote
tape device.  is there any reason why it whould not work?
.Notes:
do not use "compress" or "conv=sync" when using piping.  this may 
work some of the time, but because of the nature of networks, you 
can get corrupted data very easily.
.Thanks for using AIX Support.  Please respond back to this item if
you have additional information or questions.

Response:

ADDITIONAL INFORMATION SUBMITTED: 

Q:  I NEED THE COMMAND TO BE ISSUED FROM THE AIX THAT 
     OWNS THE TAPE.  WHAT SYNTAX WOULD I USE?

Response:

.
remote tar syntax:
Ok, so we want to run the command from the machine with the tape drive.
No problem.  The SOURCE machine will still be the one that has the data 
and the TARGET will be the machine with the tape drive.
.RUN FROM THE TARGET
        rsh \ -l \ "cd /dir; tar -cvf-" | dd bs=1024 of=/dev/rmt0
.You also might want to consider ADSM.  This is an addon product that does
exactly what you are trying to do (archiving many machines to a single
tape drive server) VERY WELL.  It is capable of handling problems like 
balancing the archive data with the network traffic and is designed for
archive management of many systems on many platforms to a single tape unit.
.Thank you for using the AIX SUPPORT FAMILY.


Support Line: remote tar archive ITEM: CL8093L
Dated: February 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:17
Comments or suggestions? Contact us