Upgrading an Enterprise 3000 to CMS R3V9

Restoring non-CMS files

The customer may want specific non-CMS files copied from the preupgrade CMSADM backup tape to the upgraded system. The procedure is different if the old system was R3V6 or earlier, or if the old system was R3V8.

R3V6 and earlier

To copy specific files from an R3V6 or earlier system:

1. Insert the most recent CMSADM backup tape from the old system into the tape drive.

2. Enter the following command for each file you want to copy:

cpio -icmudv -C 10240 -I /dev/rmt/X-M “Remove current tape, insert tape number %d, press ENTER” “/<path>/<file_name>”

The /<path>/<file_name> is the fully-qualified path to the file being copied.

The X is either 0 or 1, depending on how many tape drives are connected to the system. If you have only one tape drive, use 0. If you have more than one tape drive, use the following commands to determine which tape drive you should use:

mt -f /dev/rmt/0 status mt -f /dev/rmt/1 status

The tape drive that contains the CMSADM backup tape reports a status similar to the following:

<tape drive

model name>:

 

sense key(0x6)= Unit Attention

residual= 0 retries= 0

file no=

0

block no= 0

 

 

 

 

 

For example, a command to copy the file /accounting/invoices would be:

cpio -icmudv -C 10240 -I /dev/rmt/X -M “Remove current tape, insert tape number %d, press ENTER” “/accounting/invoices”

70 CentreVu CMS R3V9 Sun Enterprise 3000 Computer CVUE Instructions

Page 70
Image 70
Avaya Comcode 700220627 manual Restoring non-CMS files, R3V6 and earlier, Mt -f /dev/rmt/0 status mt -f /dev/rmt/1 status