Restoring your libraries

To recover your entire system, you must restore IBM-supplied libraries and user libraries.

To restore IBM-supplied libraries, follow these steps:

  1. Find the tapes that you used most recently to save IBM-supplied libraries. You saved them by using one of the following methods:
    • Option 10 from the Run Backup menu.
    • Option 11 from the Run Backup menu.
    • The SAVLIB LIB(*IBM) command.
    • The SAVLIB LIB(*NONSYS) command.
    • Option 21 from the Save menu.
    • Option 22 from the Save menu.
    • Option 41 from the Save menu.
  2. Mount the first tape and type: RSTLIB SAVLIB(*IBM) DEV(media-device-name). Press the Enter key.

To restore user libraries, follow these steps:

  1. Find the tapes that you used most recently to save all user libraries. You saved them by using one of the following methods:
    • Option 1, 2, or 3 from the Run Backup menu and specifying 2 (All) for the User libraries option.
    • Option 11 from the Run Backup menu.
    • The SAVLIB LIB(*ALLUSR) command.
    • The SAVLIB LIB(*NONSYS) command.
    • Option 21 from the Save menu.
    • Option 23 from the Save menu.
    • Option 40 from the Save menu.
    • Option 42 from the Save menu.

    If you are not sure which tapes have your user libraries on them, perform the following tasks for each possible tape:

    1. Mount the tape.
    2. Type DSPTAP DEV(media-device-name)
    3. Page through the displays, looking for the file called QFILE.
    4. When you find the tape with the QFILE file on it, write down the sequence number for that file on the tape.
    5. Leave the tape in the tape unit and type:
      DSPTAP DEV(media-device-name) LABEL(QFILE)
      SEQNBR(sequence-number) DATA(*SAVRST) OUTPUT(*PRINT)
    6. If the listing contains user libraries, it was created by either the SAVLIB(*NONSYS) command or the SAVLIB(*ALLUSR) command. The libraries from the tape can be restored using the RSTLIB SAVLIB(*ALLUSR) command.
  2. Mount the first tape that has user libraries and type: RSTLIB SAVLIB(*ALLUSR) DEV(media-device-name). Press the Enter key.

You have now restored all the libraries on your system to the point where they were all saved completely. Return to Checklist 27: Recovering user information using tapes from Operational Assistant backup.