tape to tape duplication

2007-12-25 10:23:00

     Thanks for the many responses! There were too many names to list!!!

     Commands summarized below followed by original message.

      

     

     tcopy (if drives on same system; may not work with all tape formats)

     =====

     

     tcopy source [ destination ]

     

     EX:

     

        tcopy /dev/rst0 /dev/rst1

     

        tcopy /dev/rmt/xxx /dev/rmt/yyy

     

     

     dd

     ==

     

     Drives on Same System

     ---------------------

     

     dd if=/dev/<tape drive 1 address> of=/dev/<tape drive 2 address>

     

     EX:

     

        dd if=/dev/rmt/0m ibs=126b | dd of=/dev/rmt/1m obs=126b

     

     

     Drives on Different Systems

     ---------------------------

        

     dd if=/dev/rmt/0m ibs=126b | rsh tapehost -n dd \ of=/dev/rmt/1m

     obs=126b

     

     

        dd if=/dev/rmt/0m bs=10240 | remsh host2 'cat | dd of=/dev/rmt/0m \

     bs=10240'

     

     

     Blocking size comments:

        "The idea is to use a blocksize which streams well, in other words

     both tapes running continuously, without constant stopping and

     restarting."

     

     Reminder to check validity of tape copied with:

     

        mt -f /dev/rmt/1 rewind

        tar tvf /dev/rmt/1n

     

     

     

     ** Other suggestions (which I did not try yet) are:

     =========================================================

     

        cp -r (if you're going from one Solaris 8mm to another of the

     same size on the same system)

     

     tar xf $TAPE1 - | tar cf $TAPE2 - (for tar tapes)

     

     

     

     

     ORIGINAL QUESTION

     =================

     At 02:08 PM 5/13/98 GMT, you wrote:

> We are trying to copy the contents of one 8mm tar tape

> directly to another 8mm tape without going to disk in between.

Comments

Got something to say?

You must be logged in to post a comment.