Technical data
Using BACKUP
11.16 Restoring User Disks
• DRA2: is the device name of the disk to which the files will be restored.
$ MOUNT/FOREIGN DRA2:
!
%MOUNT-I-MOUNTED, DISK1 mounted on _DRA2:
$ BACKUP/IMAGE MIA1:FULL_BACKUP.SAV/REWIND DRA2:
"
$ DISMOUNT/NOUNLOAD DRA2:
#
In this example, the individual command lines perform the following actions:
! Mount the disk DRA2. The files will be restored to this disk. The disk must
be loaded before it can be mounted.
" Initialize DRA2:, effectively erasing any previous data on the disk. Restore
the directory structure and all the files from the save set FULL_BACKUP.SAV
to the disk DRA2. BACKUP restores the files contiguously on DRA2:,
eliminating any disk fragmentation on that device.
The /IMAGE qualifier restores a logical duplicate of the original disk so that
the entire directory structure is restored and the files are placed in the proper
directories.
# Dismount the disk.
11.16.2 Restoring Incremental Backups
Restoring files after making an image backup and one or more incremental
backups is a two-step process. First, restore the most recent image backup.
Then, restore each subsequent incremental backup, starting with the most recent.
For the number of directory structure levels you can access see Section 11.14.1.
How to Perform This Task
To restore incremental backups, use the following procedure (note that the first
few steps are similar to the procedure for restoring an image backup):
1. Mount the disk to which you will restore the files, using the MOUNT
/FOREIGN command. (See Section 11.8.2 for information about the MOUNT
command.)
2. Load the tape, disk, or diskette that contains the most recent image backup
of the disk. If the backup save set spans more than one volume, load the
first volume of the set. If the backup copy is on a disk or diskette, mount the
volume.
3. If you do not know the name of the save set, perform one of the following
actions:
• If the save set is on a disk, make sure the disk is mounted and use
the DIRECTORY command to determine the name of the save set. For
example:
$ DIRECTORY BACKUP_DISK:[BACKUPS]
Directory SYS$SYSDEVICE:[BACKUPS]
19APRIL2000.SAV;1
Total of 1 file.
The save set is named 19APRIL2000.SAV.
Using BACKUP 11–47










