HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate the Tape

 
Kitti Thanapuasuwan
Occasional Advisor

Duplicate the Tape

I have one DLT Tape drive. Is there any command that I can duplicate the tape?
12 REPLIES
Lawrence Czlapinski
Trusted Contributor

Re: Duplicate the Tape

Kitti, You would have to do a BACKUP restore of the savesets from tape to disk directory. Then do a BACKUP restore of the savesets from disk to a new tape.
BACKUP/LIST save-set-specifier
ddcu:[SAVESETS...]/BY_OWNER=ORIGINAL

BACKUP save-set-specifier/SAVE_SET
ddcu:[*...]/BY_OWNER=ORIGINAL
Lawrence
Bojan Nemec
Honored Contributor

Re: Duplicate the Tape

Kitti,

If you have enough disk space you can mount the tape (MOUNT tapedrive label or MOUNT tapedrive /OVER=ID) and copy the contents to the disk with:
$ COPY tapedrive:*.* [.tmpdir]

You can do thate even if the tape was writen with backup (backup save sets are normal files). When done dismount the tape and
init a new tape:
$ INIT tapedrive label
$ MOUNT tapedrive label
$ COPY [.tmpdir]*.* tapedrive:

If you do this from system user be aware of your default directory (see thread http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=678898 )

Bojan
Antoniov.
Honored Contributor

Re: Duplicate the Tape

Kitty,
Bojan's hints is unique solution I know. Remember you can read a tape a disk so you can see how large is your saveset.
$ MOUNT tape /OVER=ID
$ DIR tape:[000000]*.*

Antonio Vigliotti
Antonio Maria Vigliotti
Wim Van den Wyngaert
Honored Contributor

Re: Duplicate the Tape

Add /size=all to the dir command of Antonio.

Wim
Wim
Antoniov.
Honored Contributor

Re: Duplicate the Tape

Thanks Wim.
I've forgotten it.

Antonio Vigliotti
Antonio Maria Vigliotti
Ian Miller.
Honored Contributor

Re: Duplicate the Tape

COPYing savesets from tape to disk to tape is fine as long as saveset record size is less than RMS record size limit 32768.

There is a hp product Save Set Manager which can do this sort of thing. There are also freeware tape copy programs available from the usual places.
____________________
Purely Personal Opinion
labadie_1
Honored Contributor

Re: Duplicate the Tape

There is a commercial tool that does it, save set manager. Read the spd at

http://h18000.www1.hp.com/info/SP6264/SP6264PF.PDF


and a freeware

http://h71000.www7.hp.com/freeware/freeware50/tapecopy/

I tried and used Save set manager, works fine. I never tried tapecopy.
Helmut Ammer
Occasional Advisor

Re: Duplicate the Tape

Kitti,

be careful copying saveset from tape to disk or vice versa. This can end up with problems.
HP has a product on OpenVMS to copy savesets from/to tape: Save Set Manager
http://h71000.www7.hp.com/openvms/storage/ssmpage.html

Regards
Helmut
Galen Tackett
Valued Contributor

Re: Duplicate the Tape

Kitti,

Everyone else has assumed that your tape contains one or more backup savesets or other files with ANSI standard headers.

I suppose that is the most likely kind of tape to encounter, but is it what you actually have?

The other possibility would be a tape written in some format without the usual ANSI labels, which would most likely have been written while mounted /FOREIGN. In this case your only choice may be a utility like the tapecopy that labadie mentioned.

Galen
Duncan Morris
Honored Contributor

Re: Duplicate the Tape

Kitti,

I have been using the freeware tapecopy for some time with TZ89 drives and DLT IV tapes without any problems. My tapes have had user data, savesets, and even data from UNIX systems.

I would recommend it.
Alon Jacob
Frequent Advisor

Re: Duplicate the Tape

Kitty.
Unless you have another tape similar to the first one or better, you'll have to copy the save-set file to a hard-disk e.g. $ copy/log :filename.bck :[temp]*.* assuming you created the "temp" directory on the disk first and that you have enough disk space. You can find the save-set file size usin $ back/list command on the tape.
Incase you do have a second tape, use $ copy/log :.bck :*.*
Karl Rohwedder
Honored Contributor

Re: Duplicate the Tape

I've used an old freeare tool call VMSTPC,
which can copy a tape to disk (container file) and back to another tape, without understanding anything of the tapes's data.
I remember it was quite fast.

I've included the source, may be it is usefull for you.