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

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 same 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 VMS, 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 VMS.

With this version, 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 VMS due to the current implementation of the VMS PIPE command. This feature is available on Windows but wasn't tested, so far.

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

This version was tested on OpenVMS V8.3/Alpha and V8.4/I64, Debian/Lenny (32bit) and Windows 7.

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 voit-131209.bck img.bck          
Backup summary from OpenVMS backup savesets, V0.9.3
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.3
Save set:          VOIT-131209.BCK
Written by:        BECKER_H    
UIC:               [000610,020067]
Date:               9-DEC-2013 11:41:57.58
Command:           BACKUP/NOASSIST DISK$VOIT:[VOIT...] VOIT-131209.BCK/SAVE
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
$

C:\Users\hb\bcksum>bcksum -v voit-131209.bck
Backup summary from OpenVMS backup savesets, V0.9.3
Block header
  SIZE: 256
  OPSYS: 2048
  SUBSYS: 1
  APPLIC: 1
  NUMBER: 1
  20 bytes reserved
  STRUCLEV: 0x0101
  VOLNUM: 1
  CRC: 0x3d0fda2f
  BLOCKSIZE: 32256
  FLAGS: 0x00000000
  SSNAME: "VOIT-131209.BCK"
  FID: 0,0,0
  DID: 0,0,0
  FILENAME: ""
  22 bytes reserved
  CHECKSUM: 0x198d
Record header
  RSIZE: 208
  RTYPE: 1
  FLAGS: 0x00000000
  ADDRESS: 0
  BLOCKFLAGS: 0x0000
  2 bytes reserved
Data
  STRUCLEV: 0x0101
  SIZE: 15, TYPE: 1
  SSNAME: "VOIT-131209.BCK"
  SIZE: 56, TYPE: 2
  COMMAND: "BACKUP/NOASSIST DISK$VOIT:[VOIT...] VOIT-131209.BCK/SAVE"
  SIZE: 12, TYPE: 4
  USERNAME: "BECKER_H    "
  SIZE: 4, TYPE: 5
  USERUIC: 0x01882037
  SIZE: 8, TYPE: 6
  DATE: 0x000000002129002c
  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$DRA3:"
  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
  10 padding bytes
Save set:          VOIT-131209.BCK
Written by:        BECKER_H    
UIC:               [000610,020067]
Date:              09-DEC-2013 11:41:57.58
Command:           BACKUP/NOASSIST DISK$VOIT:[VOIT...] VOIT-131209.BCK/SAVE
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
C:\Users\hb\bcksum>