This section details the addition of user data to the upgraded D3 environment. Those upgrading with a file-save tape should continue the upgrade process here.
NOTE |
If you are upgrading from other Pick compatible environments (like Ultimate or SCO), you cannot perform an account-restore from a tape blocked at anything but zero. To set the default block size to zero, at the TCL prompt set the device and then enter:
For details on setting the default block size, see the Tapes topic in the D3 System Administration Guide. |
Those upgrading/migrating from a previous version of D3 Linux, Advanced Pick, R83 or another Pick compatible environment, continue the upgrade process here, after completing the instructions in Installing D3.
To restore the accounts:
Insert the file-save tape in the device.
Enter:
set-device |
The list of tape devices in the configuration file displays. The tape device numbers may vary, depending on the particular system configuration.
Tape Status DD MMM YYYY hh:mm:ss # Type Density Owner Device Name ------------------------------------------------------------ 0 | Floppy | 3 1/2" 1.44M| | /dev/fd0H1440 1 | Floppy | 3 1/2" 720K | | /dev/fd0H720 2 | SCT | | | /dev/nst0 3 | compressed | 500K | | /usr/lib/pick/ab 4 | compressed | 500K | | /usr/lib/pick/dt |
------------------------------------------------------------- Enter a unit number from the above list :2 |
Enter the number that corresponds to the file-save media device.
In this example, 2 is entered.
A similar prompt displays:
Block size: 16384 |
Enter:
t-rew restore-accounts |
NOTE |
|
The file-save tape is read, and any account on the tape which is not already on the system, is restored. The elapsed time depends on the amount of data on the tape(s). If necessary, a prompt displays for the next tape volume when it is ready.
Load next volume and type ācā to continue #_ |
Mount the next volume and type c, if necessary.
After all accounts have been read, any indexes for the restored files are generated. Upon completion, you are returned to TCL.
Enter:
t-rew t-det |
Remove the file-save tape from the device.
Enter:
update-md |
The following prompt displays:
Create user id from each account name (y,<n>)? |
Respond to this prompt appropriately. If you are not sure, type N (ENTER = default of N).
Enter md file name: |
Enter the name of one of the accounts just restored.
Repeat this step for all restored accounts.
After all restored accounts are entered, press ENTER once more to exit the prompt.
NOTE |
The process of upgrading your existing accounts creates entries in the dm,CLASHES, file. For more information, see the Clashes File topic in the D3 Reference Manual. |
See Also