1748179 Members
4092 Online
108758 Solutions
New Discussion юеВ

Re: 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 12
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