Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

Restore SAVESET from tape

Kitti Thanapuasuwan
Occasional Advisor

Restore SAVESET from tape

I have the backup saveset on tape. Which command I can restore the saveset to disk as a saveset (only one file). So I can FTP only one file to other node and restore them.

Hein van den Heuvel
Honored Contributor

Re: Restore SAVESET from tape

DIGITAL(!) has a product/tool in this space "saveset manager":

VMS Backup tape are ANSI standard labelled magtapes with SAVESETS being files.
You can MOUNT [/OVER=ID] the tape. User DIR to list it, and COPY to grab an entire, individual, saveset to disk.
I recommend practicing on a (short) tape (or virtual tape driver if you can find one) with smallish savesets.


Freeware tools of interest:

some interesting public documents on VMSbackup:




Uwe Zessin
Honored Contributor

Re: Restore SAVESET from tape

I like to ammend Hein's message with 3 comments.

- the COPY to disk does only work as long as the saveset records are smaller than 32256 bytes. Some people specify 65535 bytes for more speed, but unfortunately the record length counter is a signed integer, were some negative values have a special meaning.

- just note that when you have set your default to a searchlist and do a '$DIRECTORY tape:' you will see the _same_ file (usually) two times. This is because you have not specified a directory name and RMS pulls one from every entry of the search list - use '$ DIRECTORY tape:[]' instead or do a '$ SET DEFAULT SYS$SYSDVEICE:[000000]' in advance.

- be prepared that an FTP _might_ corrupt the file's record formats. Don't forget to do a BINARY transfer and please consult the following link:

Well, how about a fourth one:
- write protect the tape or MOUNT/NOWRITE
Martin P.J. Zinser
Honored Contributor

Re: Restore SAVESET from tape


in case any corruption happens file (see

is a most useful tool. It can be used to record the file attributes before the transfer and then allows to reset them to exactly the same after the transfer.

Greetings, Martin
Ian Miller.
Honored Contributor

Re: Restore SAVESET from tape

zip/unzip (infozip group version) is also a useful way of transferring a backup saveset with preservation of vms file file attributes.
(use zip V2.3 and unzip V5.5)
Purely Personal Opinion
Honored Contributor

Re: Restore SAVESET from tape

I succesfully used Hein's command in past. If saveset is not too big it's the simplest way to work.


Antonio Maria Vigliotti
Jan van den Ende
Honored Contributor

Re: Restore SAVESET from tape

I agree with Hein, Uwe, and Antoniov.
Mount/over = ID
Copy : ;
or Copy :*.*
always worked for me, I never had to look any further.

Don't rust yours pelled jacker to fine doll missed aches.