Operating System - OpenVMS
1753451 Members
5970 Online
108794 Solutions
New Discussion юеВ

How to copy a save set on magnetic tape to a disk?

 
Mulder_1
Frequent Advisor

How to copy a save set on magnetic tape to a disk?

Can anyone please let me know how to copy a save set on magnetic tape to a disk ?

thanks
22 REPLIES 22
P Muralidhar Kini
Honored Contributor

Re: How to copy a save set on magnetic tape to a disk?

Hi,

To copy a saveset in tape to disk
1) You need to first load the Volume that has the saveset on to the drive

2) Mount the tape device
MOUNT/FOR
Let There Be Rock - AC/DC
Volker Halle
Honored Contributor

Re: How to copy a save set on magnetic tape to a disk?

FOX2,

please try to use more meaningful subjects ion the future...

$ BACK/LIS tape:/SAVE

Note Save Set name: xxx.bck
Note Block size: nnnn

CTRL-Y

$ DISM/NOUNL tape:
$ MOUNT/OVER=ID/NOWRITE/BLOCK=nnnn tape:
$ COPY/LOG tape:xxx.bck <>
$ DISM/NOUNL tape:

Verify copied saveset with:

$ BACKUP/LIST xxx.bck/SAVE

Volker.
P Muralidhar Kini
Honored Contributor

Re: How to copy a save set on magnetic tape to a disk?

Volker,

>> /BLOCK=nnnn
Is this to ensure that the block size is chosen based on what it is for the
saveset (i.e. based on how the saveset was written). Otherwise when
accessing the saveset, the block size would be taken as default of 2048 byte
blocks (for tape).

Regards,
Murali
Let There Be Rock - AC/DC
Volker Halle
Honored Contributor

Re: How to copy a save set on magnetic tape to a disk?

Murali,

your commands restore the CONTENTS of the saveset to disk. My commands copy the SAVESET itself to disk.

Regarding MOUNT/BLOCK please see HELP MOUNT/BLOCKSIZE.

Volker.
P Muralidhar Kini
Honored Contributor

Re: How to copy a save set on magnetic tape to a disk?


>> your commands restore the CONTENTS of the saveset to disk.
>> My commands copy the SAVESET itself to disk.
Yes thats right.
Typo in my reply. The commands were to restore the contents of saveset.

In any case, thats good for FOX2.
He has also got the set of commands to restore a tape saveset to disk.
You can use that whenever the need arises.

Regards,
Murali
Let There Be Rock - AC/DC
Mulder_1
Frequent Advisor

Re: How to copy a save set on magnetic tape to a disk?

Thanks

Just want to copy the save set as it is
Shriniketan Bhagwat
Trusted Contributor

Re: How to copy a save set on magnetic tape to a disk?

Hi,

BACKUP saveset mentains tranportablility. i.e. saveset created on tape can be copied to disk and disk to tape.

>> Just want to copy the save set as it is

Just curious to know why you want to copy the saveset from tape to disk? is there any specific resion?

Regards,
Ketan
Volker Halle
Honored Contributor

Re: How to copy a save set on magnetic tape to a disk?

FOX2,

please note that there is at least ONE restriction: if the backup saveset block size is greater than 32767, you can't copy it from tape, as this execeeds the maximum RMS block size supported for tape operations.

See the discussion in the following thread:

http://forums13.itrc.hp.com/service/forums/questionanswer.do?&threadId=1007124

Volker.
Shriniketan Bhagwat
Trusted Contributor

Re: How to copy a save set on magnetic tape to a disk?

Hi,

BACKUP uses by default 8192 blocks while writing to the magnetic tape until and unless /BLOCK_SIZE qualifier with some
block size value is specified in the BACKUP command. You can determine this by listing the saveset on tape.
BACKUP/LIST xxx.bck/SAVE. Check the BLOCK SIZE field in the saveset summery which is listed in the beginning of the saveset.

>> please note that there is at least ONE restriction:

This is because BACKUP uses RMS $PUT while writing to disk and $QIO while writing to tape. Maximum block size that can be written through $PUT is 32767. Hence if the saveset was written to tape with block size more than 32767 can not be copied to disk. This restriction will not be applicable to those savesets on tape which were written with less than 32767 block size.

Regards,
Ketan