Appendix D


Backing Up and Restoring Disks in UP-UX

A disk volume on SUPER-UX is treated as one partition of a disk in UP-UX. Therefore, to back up or restore physical images, use the backup or restoration service provided by UP-UX.

D.1 CREATING A BACKUP TABLE

The backup service of UP-UX is performed according to the information stored in a backup table. This requires that all of the disks accessed from SUPER-UX be registered in the backup table beforehand.

Store information on the disk partitions on UP-UX that are accessed from SUPER-UX and information on the entire disks that accommodate the disk partitions.

Use the bkreg command for storage. The storage procedure is described below with a sample command.

D.1.1 Storing Partition Information

The following example command stores partition information:

Home


D.1.2 Storing Entire Disk Information

The following example command stores information on an entire disk:

Home


D.2 MAKING A BACKUP

Use the backup command to make a backup. The backup command is executed according to the definitions in the backup table. If any required information is missing in the backup table, store it as described in Section D.1.

D.2.1 Backing Up a Partition

The following example command backs up a partition:

D.2.2 Backing Up an Entire Disk

Backing up an entire disk requires that disk format information (such as partition size) and the partitions on the disk be saved separately.

First, save disk format information.

See Section D.2.1 for the explanation of each option. In the o option, specify the raw-type special file that represents the entire disk as the source to be backed up.

Next, save all the partitions on the disk. Follow the procedure described in Section D.2.1.

D.3 RESTORING A BACKUP

Use the restore command to restore a backup. By checking the history recorded by the backup command, the restore command identifies the medium that stores data to be restored and requests the mounting of that medium.

D.3.1 Restoring a Partition

The following example command restores a partition:

D.3.2 Restoring an Entire Disk

Similar to the backup procedure, the entire disk restoration procedure consists of two steps: format information restoration and partition restoration.

Restore format information as follows:

Next, restore all the partitions on the disk.

Follow the procedure described in D.3.1.

Home

Contents Previous Chapter Next Chapter Index