Technical data
Using BACKUP
11.16 Restoring User Disks
Example
The next example shows the process of restoring an entire disk after a series of
incremental backups, using the following elements and assumptions:
• The save set for the image backup is named WORK_BACKUP.SAV. This save
set was created using the BACKUP/IMAGE/RECORD command.
• The save sets for the incremental backups are named as follows:
WORK_16_JAN.SAV
WORK_17_JAN.SAV
WORK_18_JAN.SAV
• Both the image and the incremental backup save sets are on the disk named
DUA3:, which is already mounted.
• The disk to which the files will be restored is named DUA2.
$ MOUNT/FOREIGN DUA2:
!
%MOUNT-I-MOUNTED, WORK_B mounted on _DUA2:
$ BACKUP/IMAGE DUA3:WORK_BACKUP.SAV/SAVE_SET DUA2:
"
$ DISMOUNT/NOUNLOAD DUA2:
#
$ MOUNT DUA2: WORK_B
$
%MOUNT-I-MOUNTED, WORK_B mounted on _DUA2:
$ BACKUP/INCREMENTAL DUA3:WORK_18_JAN.SAV/SAVE_SET DUA2:
%
$ BACKUP/INCREMENTAL DUA3:WORK_17_JAN.SAV/SAVE_SET DUA2:
&
$ BACKUP/INCREMENTAL DUA3:WORK_16_JAN.SAV/SAVE_SET DUA2:
’
In this example, the individual command lines perform the following steps:
! Mount the disk DUA2: with the /FOREIGN qualifier. The files will be
restored to this disk.
" Restore the directory structure and all the files from the save set WORK_
BACKUP.SAV to the disk DUA2. This was an image backup, so it must be
the first save set you restore when you want to restore incremental backup
save sets.
# Logically dismount the disk DUA2.
$ Remount the disk DUA2:, this time as a Files–11 volume.
% Restore the most recent incremental backup.
& Restore the next incremental backup.
’ Restore the oldest incremental backup.
Restoring the incremental backups in reverse chronological order is the most
efficient way to restore files. When you have restored the last incremental
backup, the restore operation is complete.
11.16.2.1 Restoring to Target Disk Structures
BACKUP examines the target disk and the save-set contents to determine which
save-set entries to ignore and which target disk entries to delete. If BACKUP
encounters a privilege error when attempting to delete directories or other files
from the target disk, BACKUP attempts to change the protection of the files so
they can be deleted.
BACKUP detects modified directory files and will subsequently save the contents
of the directory and its subdirectories to allow proper restoration of renamed
directories.
Using BACKUP 11–49










