Previous Chapter : Next Chapter : Top
Use the following step-by-step instructions to recover BACKUP.UNET tables from a BACKUP.UNET tape using standard UNIX utility programs. This information pertains to release level 2.0 or higher.
To obtain tables from segment 1:
cpio -icvBdum "./NBK_home_dir/nbk-TABLES/*" < /dev/___
If you back up your system using anything other than the default blocking, then you will need to use dd with the cpio command. For example:
dd if=/dev/___ ibs=20b obs=10b | cpio -icvBdum "./NBK_home_dir/nbk-TABLES/*"
OR
tar xvf /dev/___ ./NBK_home_dir/nbk-TABLES
To obtain tables from any segment other than the first segment,
for most UNIX workstations:
mt -f /dev/___ fsf (# of tape marks)
for RS600 workstations:
tctl -f /dev/___ fsf (# of tape marks)
(You must use a no-rewind device)
To calculate the number of tape marks to skip forward, use the following formula:
For example, if the tables are located on segment 3, you would want to skip 4 tape marks (3-1*2).
So the command would be:
mt -f /dev/___ fsf 4
OR
tctl -f /dev/___ fsf 4
After completing the above step for your workstation, use the tar or cpio command as shown above.