Technical data
Using BACKUP
11.10 Listing the Contents of a BACKUP Save Set
To list the contents of save sets does not require you to know the names of
save sets on magnetic tape. Enter the device specification of the drive in
which the tape is inserted with the BACKUP/LIST command. BACKUP reads
the next save set it encounters on the magnetic tape and stops processing
when it reaches the end of that save set. BACKUP does not automatically
rewind to the beginning-of-tape marker unless you include the /REWIND
qualifier in your command. Therefore, you can list the next save set (if one
exists) by repeating the BACKUP/LIST command. If no more save sets exist
on the tape, BACKUP issues the following error messages:
%BACKUP-F-OPENIN, error opening MUA0:[000000].; as input
-SYSTEM-W-NOSUCHFILE, no such file
Examples
1. To obtain save-set information about a magnetic tape save set named
2MAR1555.BCK in the drive MIA0:, enter the following command:
$ BACKUP/LIST MIA0:2MAR1555.BCK/REWIND
Listing of save set(s)
Save set: 2MAR1555.BCK
Written by: POLYANNA
UIC: [000200,000207]
Date: 21-MAY-2000 09:36:14.68
Command: BACKUP/LOG [USER.SAVE] MIA0:2MAR555.BCK/REWIND/LABEL=WKY201
Operating system: OpenVMS Alpha Version 7.3
BACKUP version: 7.3
CPU ID register: 08000000
Node name: _SUZI::
Written on: _MIA0:
Block size: 8192
Group size: 10
Buffer count: 3
[USER.SAVE]ANOTHER.DAT;1 1 18-MAY-2000 14:10
[USER.SAVE]LAST.DAT;1 1 18-MAY-2000 14:11
[USER.SAVE]THAT.DAT;1 7 18-MAY-2000 14:10
[USER.SAVE]THIS.DAT;2 1 18-MAY-2000 13:44
Total of 4 files, 10 blocks
End of save set
2. The following command rewinds the tape to the beginning and lists all save
sets on the volume MIA0:
$ BACKUP/LIST MIA0:*.*/REWIND
3. The following command combines a list operation with a save operation to
magnetic tape:
$ BACKUP/LIST=MYBACK.DAT [PRAMS] MTA0:2MAR1555.BCK/LABEL=DLY201
BACKUP verifies that the volume label is DLY201 and copies the contents of
the directory [PRAMS] to a save set named 2MAR1555.BCK. The command
qualifier LIST causes BACKUP to write save-set information to the file
MYBACK.DAT as the save operation proceeds.
11–20 Using BACKUP










