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.

Procedure

  1. Insert the file-save tape in the device.
  2. 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  | compressed    |              |         | /usr/lib/pick/ab
    1  | compressed    |              |         | /usr/lib/pick/dt
    2  | Quarter Inch  |              |         | /dev/rmt0.1
    3  | Quarter Inch  |              |         | /dev/rmt0.5 
    -------------------------------------------------------------
    Enter a unit number from the above list : 2
  3. Enter the number that corresponds to the file-save media device.

    In this example, 2 is entered for quarter-inch tape.

    A similar prompt displays:

    Block size: 16384
  4. Enter:
    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
    #_
  5. 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.

  6. Enter:
    t-rew
    t-det

    Remove the file-save tape from the device.

  7. Enter:
    update-md

    The following prompt displays:

    Create user id from each account name (y,<n>)?
  8. 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.