Running restore-accounts

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:

set-def-tape-blk 0

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:

  1. Insert the file-save tape in the device.

  2. Enter:

  3. 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

  4. Enter the number that corresponds to the file-save media device.

  5. In this example, 2 is entered.

    A similar prompt displays:

    Block size: 16384

  6. Enter:

  7. t-rew

    restore-accounts

     

    NOTE

    • If upgrading from a release prior to 7.4, the (f2000 option is required on the restore-accounts command.

    • If restoring data from an R83 or other Pick compatible environment, see Restoring Data for information about options used with restore-accounts.

    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                #_

  8. Mount the next volume and type c, if necessary.

  9. After all accounts have been read, any indexes for the restored files are generated. Upon completion, you are returned to TCL.

  10. Enter:

  11. t-rew

    t-det

    Remove the file-save tape from the device.

  12. Enter:

  13. update-md

    The following prompt displays:

    Create user id from each account name (y,<n>)?

  14. Respond to this prompt appropriately. If you are not sure, type N (ENTER = default of N).

  15. Enter md file name:

    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

Upgrading with a File-Save Tape

Upgrade Instructions

Restoring the mds Items

Restoring the dm Files

How to Proceed