This is version 0.9.4 of the BCKSUM tool, which is available for OpenVMS, Linux and Windows.

For an OpenVMS backup save set, BCKSUM displays the summary information and - if this is an image save set - the volume attributes. This is the information as displayed with BACKUP/LIST but without the file section. This tool is useful if you only need/want to see this meta information where the OpenVMS BACKUP utility with /LIST shows too much. (On OpenVMS, users then usually press ^Y to stop backup processing.) Obviously it is just a SMOP to implement such a functionality within BACKUP itself. As long as that isn't available this tool may be of some use, even on OpenVMS.

However, for backup save sets created on I64 systems, the HPE tool always shows an "hp" prefix for the "Operating system" entry while the VSI tool always shows an "VSI" prefix. That's wrong if the save set was not created on the same operating system on which the tool runs. Starting with this version, BCKSUM does not print any of these prefixes.

On Linux BCKSUM can read the backup save set from stdin. This is useful when the save set was compressed, for example with zip. This feature is not available on OpenVMS due to the current implementation of the OpenVMS PIPE command. This feature is available on Windows but wasn't tested, so far.

The provided backup save set contains three files: the executable OpenVMS images for Alpha, I64 and x86. The provided TGZ and ZIP files contain the executables for Linux and Windows. (There are corresponding files *.md5sum containing the MD5 checksums.)

This version was tested on OpenVMS V8.3/Alpha, V8.4/I64 and V9.2/x86, Debian 11(Bullseye)/x86_64 and Windows 7.

Current limitations: compressed or encrypted backup save sets are not supported.

How to use BCKSUM:

$ MC your_disk:[your_dir]BCKSUM [OPTION]... vms_backup_saveset...
  -q  quiet: no headers
  -v  verbose
BCKSUM identifies itself and in case of multiple savesets prints a label with the filename before printing the summary information. The option -q suppresses these headers. The option -v prints detailed information of the processed headers and records.

Examples

$ mc sys$disk:[]bcksum x.bck          
Backup summary from OpenVMS backup savesets, V0.9.4
Save set:          x.bck
Written by:        BECKER_H    
UIC:               [000610,020067]
Date:              20-JAN-2015 14:19:24.00
Command:           BACKUP/NOASSIST/IMAGE EISNER$LDA4: x.bck/SAV
Operating system:  OpenVMS Alpha version V8.3
BACKUP version:    V8.3
CPU ID register:   80000000
Node name:         _EISNER::
Written on:        _EISNER$DRA3:
Block size:        32256
Group size:        10
Buffer count:      93

Image save of volume set
Number of volumes: 1

Volume attributes
Structure level:   2
Label:             X           
Owner:                         
Owner UIC:         [000610,020067]
Creation date:     20-JAN-2015 14:12:40.75
Serial number:     0
Total blocks:      4000
Access count:      3
Cluster size:      1
Expansion limit:   4096
Data check:        No Read, No Write
Extension size:    5
File protection:   System:RWED, Owner:RWED, Group:RE, World:
Maximum files:     1000
Volume protection: System:RWCD, Owner:RWCD, Group:RWCD, World:RWCD
Windows:           7
$ 

$ unzip -p /tmp/voit.zip | ./bcksum -
Backup summary from OpenVMS backup savesets, V0.9.4
Save set:          VOIT-160906.BCK
Written by:        BECKER_H    
UIC:               [000610,020067]
Date:               6-SEP-2016 18:05:48.35
Command:           BACKUP DISK$VOIT:[VOIT...] VOIT-160906.BCK/SAVE
Operating system:  OpenVMS Alpha version V8.3
BACKUP version:    V8.3
CPU ID register:   80000000
Node name:         _EISNER::
Written on:        _EISNER$DRA2:
Block size:        32256
Group size:        10
Buffer count:      93
$

C:\Users\hb\bcksum>bcksum -v voit-160906.bck
Backup summary from OpenVMS backup savesets, V0.9.4
Block header
  SIZE: 256
  OPSYS: 2048
  SUBSYS: 1
  APPLIC: 1
  NUMBER: 1
  20 bytes reserved
  STRUCLEV: 0x0101
  VOLNUM: 1
  CRC: 0x2afa17b4
  BLOCKSIZE: 32256
  FLAGS: 0x00000000
  SSNAME: "VOIT-160906.BCK"
  FID: 0,0,0
  DID: 0,0,0
  FILENAME: ""
  22 bytes reserved
  CHECKSUM: 0xef77
Record header
  RSIZE: 192
  RTYPE: 1
  FLAGS: 0x00000000
  ADDRESS: 0
  BLOCKFLAGS: 0x0000
  2 bytes reserved
Data
  STRUCLEV: 0x0101
  SIZE: 15, TYPE: 1
  SSNAME: "VOIT-160906.BCK"
  SIZE: 47, TYPE: 2
  COMMAND: "BACKUP DISK$VOIT:[VOIT...] VOIT-160906.BCK/SAVE"
  SIZE: 12, TYPE: 4
  USERNAME: "BECKER_H    "
  SIZE: 4, TYPE: 5
  USERUIC: 0x01882037
  SIZE: 8, TYPE: 6
  DATE: 0x00b0ebf1c27a24a1
  SIZE: 2, TYPE: 7
  OPSYS: 0x0800
  SIZE: 4, TYPE: 8
  SYSVER: "V8.3"
  SIZE: 9, TYPE: 9
  NODENAME: "_EISNER::"
  SIZE: 4, TYPE: 10
  SIR: 0x80000000
  SIZE: 13, TYPE: 11
  DRIVEID: "_EISNER$DRA2:"
  SIZE: 4, TYPE: 12
  BACKVER: "V8.3"
  SIZE: 4, TYPE: 13
  BLOCKSIZE: 32256
  SIZE: 2, TYPE: 14
  XORSIZE: 10
  SIZE: 2, TYPE: 15
  BUFFERS: 93
  SIZE: 0, TYPE: 0
  3 padding bytes
Save set:          VOIT-160906.BCK
Written by:        BECKER_H    
UIC:               [000610,020067]
Date:               6-SEP-2016 18:05:48.35
Command:           BACKUP DISK$VOIT:[VOIT...] VOIT-160906.BCK/SAVE
Operating system:  OpenVMS Alpha version V8.3
BACKUP version:    V8.3
CPU ID register:   80000000
Node name:         _EISNER::
Written on:        _EISNER$DRA2:
Block size:        32256
Group size:        10
Buffer count:      93
C:\Users\hb\bcksum>