Grab OpenVMS Save Set from Tape in Linux/Win?

October 31, 2010 at 16:34:13
Specs: OpenVMS
I have a few OpenVMS backup tapes which contain save sets (.bck) created by the BACKUP tool. Unfortunately, I do not have access to a physical OpenVMS system to read and restore them. I do however have FreeAXP... but from my understanding you can't connect physical hardware to it.

What I'm hoping to do is someone pull the .bck off the tape drive and transfer it to FreeAXP to restore it.

I did some research and came across this page:

It talks about how to use Linux's DD to grab files off a VMS tape created with the COPY command. Would I be able to use this method to grab the .bck file even though the tapes were created with the Backup tool? Is this even possible?

See More: Grab OpenVMS Save Set from Tape in Linux/Win?

Report •

November 4, 2010 at 01:13:30
VMS backup tapes are ANSI labelled tapes, and yes a Unix DD should be able to copy the file to disk.
Then binary transfer the file to VMS.
On VMS the record-type probably will be wrong, and has to be corrected either by SET FILE/ATTRIBUTE=(RFM:FIX,LRL:n), where n is the backup blocksize to be determined.
There are some FIX_SAVESET programs on various freeware distributions to do the correction.
The newer VMS version (8.+) have an option /REPAIR on the backup command.

But be aware, VMS disk backup files can have a maximum block size of 32256. If the saveset on tape has been written with larger blocksize, then it is not possible to handle it as a disk saveset.

As a last resort, there is a vmsbackup available for the Unix and Windows world, which can extract files from backup savesets, although only stream and variable length record files, which can be handled on Unix, no libraries and indexed files.

Joseph Huber,

Report •
Related Solutions

Ask Question