User`s guide

BACKUP
For example, the following command restores to DU0 all the files in the saveset
BACKUP.BUP on DU1:
.BACKUP/RESTORE DU: DU1:
1. Restoring complete savesets
You can restore complete savesets in the following three ways:
By restoring all the files from a saveset
By restoring a complete device image from a saveset
By restoring a saveset as a file
(restoring a logical-disk file from a saveset)
a. Restoring all the files from a saveset (/RESTORE [ssname]/SAVESET)
You can restore all the files in a saveset in one step by combining the
/SAVESET option with the /RESTORE option to specify the name of the
saveset you want to restore.
The following command restores the saveset 28MAY.BUP from device
MU0 to DL1, and verifies the restored data. As the files are restored
from the saveset, they are listed on the terminal:
.BACKUP/RESTORE/VERIFY MU0:28MAY.BUP/SAVESET DL1:
See the /SAVESET option for more information on using that option.
b. Restoring a complete device image from a saveset (/RESTORE/DEVICE)
Restoring a device image from a saveset means restoring the entire image
of a volume with home block, boot blocks, directory, and any empty blocks
to a standard RT–11 formatted disk. This means when you restore a
device image to a disk, the disk is initialized as part of the operation.
If you do not specify the saveset name in the command line, BUP does
one of the following:
On a magtape backup volume, BUP restores the first saveset on the
magtape.
On a random-access device, BUP looks for a saveset matching the
output device name. If BUP does not find such a name, BUP returns
an error message.
In the following command, MYDISK is the named saveset contained on
magtape MS0. The command restores MYDISK to disk device DL1 and
verifies the restoration.
.BACKUP/RESTORE/DEVICE/VERIFY MS0:MYDISK DL1:
c. Restoring a saveset as a file (/RESTORE/FILE)
Restoring a saveset to a file is useful if you want to restore a saveset of a
logical disk back to a logical disk. See the /FILE option for a description
20 RT–11 Command Descriptions