[Info-vax] STARTREK.BCK Restore - How?

Bob Gezelter gezelter at rlgsc.com
Sat May 11 05:45:21 EDT 2019


On Saturday, May 11, 2019 at 1:11:17 AM UTC-4, rsgo... at gmail.com wrote:
> On Friday, May 10, 2019 at 2:49:04 PM UTC-4, Colin Butcher wrote:
> > This command file might help (not mine, can't recall who wrote it, but 
> > it's useful, so thank you to whoever it was):
> > 
> > $! RESET_BACKUP_SAVESET_ATTRIBUTES.COM
> > $
> > $! P1  is the specification of the BACKUP savese
> > $
> > $! This procedure resets the record format and record
> > $! length attributes of a BACKUP saveset -- savesets
> > $! can get "broken" during certain sorts of file
> > $! transfers -- such as FTP.  This procedure reads the
> > $! (undocumented) saveset record attributes directly
> > $! out of the target file.
> > $!
> > $! First render the saveset readable, and implicitly
> > $! check that the file exists.
> > $!
> > $ Set File /Attributes=(RFM:FIX,MRS:512,LRL=512,ORG=SEQ,RAT=NONE) 'p1'
> > $
> > $ Open/Error=whoops/Read BckSaveset 'p1'
> > $ Read/Error=whoops/End=whoops BckSaveset Record
> > $ Close/Nolog BckSaveset
> > $!
> > $! Find the blocksize from within the record...
> > $!
> > $ BlockSize = 0
> > $ BBH_L_BLOCKSIZE = %x28*8
> > $ BlockSize = F$CVUI(BBH_L_BLOCKSIZE, 32, Record)
> > $ If BlockSize .lt. 2048 .or. BlockSize .gt. 65535
> > $ Then
> > $   Write sys$output "Unexpected block size"
> > $   Goto whoops
> > $ Else
> > $   Set File 
> > /Attributes=(RFM:FIX,LRL='BlockSize',MRS='BlockSize',RAT=none) 'p1'
> > $ endif
> > $!
> > $ exit
> > $WHOOPS:
> > $ Write sys$output "Error"
> > $ exit
> > 
> > Cheers, Colin.
> > 
> > Legacy = Stuff that works, properly
> 
> After running the command, the .BCK file with save sets looks good:
> 
> $ BACKUP/LIST STARTREK.BCK;3/save_set
> Listing of save set(s)
> 
> Save set:          STARTREK.BCK
> Written by:        SMILEY      
> UIC:               [000001,000005]
> Date:              30-JUN-2002 12:37:25.58
> Command:           BACKUP/FAST/LOG [.STARTREK]*.* DKA100:[TEMP]STARTREK.BCK/SAVE
> Operating system:  OpenVMS Alpha version V7.2
> BACKUP version:    AXP72R001
> CPU ID register:   80000000
> Written on:        _DEFCON$DKA100:
> Block size:        32256
> Group size:        10
> Buffer count:      67
> 
> [GAMES.STARTREK]README.TXT;1                                5  23-OCT-1979 07:59
> [GAMES.STARTREK]STARTREK.COM;3                              3  13-JUL-2001 21:17
> [GAMES.STARTREK]STARTREK.COM;2                              3   4-MAY-1986 13:43
> [GAMES.STARTREK]STARTREK.EXE;4                            234   4-MAY-1986 13:36
> [GAMES.STARTREK]STARTREK.HLP;1                             51  23-OCT-1979 07:59
> [GAMES.STARTREK]STARTREK.OLB;1                            707  23-OCT-1979 07:59
> [GAMES.STARTREK]STARTREK_TV.EXE;1                         864   9-JUL-2001 22:39
> [GAMES.STARTREK]STARTREK_TV.LIS;1                           3   9-JUL-2001 22:38
> [GAMES.STARTREK]TREKLINK.COM;1                              1  20-MAR-1985 20:24
> 
> Total of 9 files, 1871 blocks
> End of save set
> 
> 
> I never had to deal with this back when I managed VMS on a VAX 11/780 at my old company, probably because we didn't deal with FTP back them.  And, for what it's worth, the FTP on my system seems to have issues with large blocksizes.  I take it that this is a known issue.
> 
> Where can you get the toolz CD now?  I've had no luck finding it online.
> 
> Thanks for the help!
> 
> Shawn

Shawn,

Several people have the CDROM ISO images or files online. Search for "FREEWAREV80" (for FREEWARE Version 8; for earlier versions change the digit).

- Bob Gezelter, http://www.rlgsc.com



More information about the Info-vax mailing list