Operating System - OpenVMS
1751758 Members
5372 Online
108781 Solutions
New Discussion юеВ

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

TIA
6 REPLIES 6
Hein van den Heuvel
Honored Contributor

Re: Restore SAVESET from tape

DIGITAL(!) has a product/tool in this space "saveset manager":
http://www.digitalindiasw.com/services/whitepapers/digital-India-and-storage-management.htm


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.


http://h71000.www7.hp.com/wizard/wiz_4342.html

Freeware tools of interest:
http://h71000.www7.hp.com/freeware/freeware40/sigtape_stuff/freeware_readme.txt

some interesting public documents on VMSbackup:

http://www.fnal.gov/docs/products/vmsbackup/vmsbackup.html

http://aa11.cjb.net/tru64_unix_managers/1998/0131.html

http://www.ttinet.com/tti/secrets_file_io_001.html


http://www.digitalindiasw.com/services/whitepapers/digital-India-and-storage-management.htm
Uwe Zessin
Honored Contributor

Re: Restore SAVESET from tape

Kitty,
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:
http://h71000.www7.hp.com/openvms/freeware/backup.html

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

Re: Restore SAVESET from tape

Hi,

in case any corruption happens file (see
http://vms.process.com/scripts/fileserv/fileserv_search.exe?package=file&description=&author=&system=Either&language=All
)

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
Antoniov.
Honored Contributor

Re: Restore SAVESET from tape

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

@Antoniov

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.


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