VMS multitape backup restores are just like single tape restores except that the external and vault tape labels aren't the same as the internal label. Since the backup program requests the tape by it's internal label, the operators have to be able to translate the request in order to mount the correct tape.
D0GS01-AMJ>sh dev mk Device Device Error Volume Free Trans Mnt Name Status Count Label Blocks Count Cnt D0GS01$MKA400: Online 0 D0GS01$MKA500: Online 0
D0GS01-AMJ>sh dev scratch: scratch02:[scratch.lconey] is another possibility D0GS01-AMJ>set default scratch:[scratch.lconey] D0GS01-AMJ>dir/size/total [...]
D0GS01-AMJ>def/trans=conc temp scratch02:[scratch.lconey.]
D0GS01-AMJ>set default temp:[000000]
http://www-d0.fnal.gov/d0disks/vms2unix/d0tngbackup.html for d0tng disks; http://www-d0.fnal.gov/d0disks/vms2unix/fnald0backup.html for fnald0 disks.
-------- Original Message -------- Subject: 8mm tapes needed on D0GS01 Date: Mon, 27 Mar 2000 11:14:33 -0600 From: Alan M JonckheereOrganization: D0 at Fermilab To: operator@fnal.gov CC: jonckheere@fnal.gov I need to restore files from a 2 tape backup save set onto D0GS01 (VMS). Since these are 2 volume tapes, the internal and external volume labels don't agree, especially for the 2d volume. The tapes I'll be mounting and all *three* lables are: vault label external label internal label COP333 COP333 P333 COQ333 COP33302 P33302 NOTE: the backup program will request that volume lable P33302 be mounted. Please mount the COQ333 = COP33302 tape at that point. If you have any questions/problems, please give me a call. Alan Jonckheere (D0) x3158 -----------------------------------------------------------------------
D0GS01-AMJ>allocate d0gs01$mka400 %DCL-I-ALLOC, _D0GS01$MKA400: allocated
D0GS01-AMJ>mount/for/comment="Please mount tape label COP333, readonly"
D0GS01$MKA400:
%MOUNT-I-OPRQST, Please mount device _D0GS01$MKA400:
Please mount tape label COP333, readonly
%MOUNT-I-OPRQSTCAN, operator request canceled
%MOUNT-I-OPRQST, Please mount device _D0GS01$MKA400:
Please mount tape label COP333, readonly
%MOUNT-I-OPRQSTCAN, operator request canceled
%MOUNT-I-OPRQST, Please mount device _D0GS01$MKA400:
Please mount tape label COP333, readonly
%MOUNT-I-WRITELOCK, volume is write locked
%MOUNT-I-MOUNTED, P333 mounted on _D0GS01$MKA400:
%MOUNT-I-RQSTDON, operator request canceled - mount completed
successfully
D0GS01-AMJ>define SYS$OUTPUT restore_p333.log
redirects the output of the /log qualifier to a file
D0GS01-AMJ>backup/log/label=p333 d0gs01$mka400:/save [*]/by_owner=parentYou can chose specific files, by adding a file spec to the tape drive name. You can use wildcards in the file spec, but be careful, if you need to specify any part of the directory path, you MUST have it correct. Get the full name from the .list file on d0chb. You can *exclude* files via:
/exclude=(file_spec[,...])
See
HELP BACKUP
for details.
D0GS01-AMJ>deassign SYS$OUTPUT
closes the output redirection file
D0GS01-AMJ>dismount d0gs01$mka400
D0GS01-AMJ>deallocate d0gs01$mka400
D0GS01-AMJ>rename [...]*.*;* *.*;*This is the equivalent of "touch" on Unix. DO NOT use this as a general practice. It defeats the scratch cleanup and will make other users of the system extremely peeved when the disk fills up.