Recovering documents and folders

If an unrecoverable error occurs during the RSTDLO procedure, you can restart the procedure by using the SAVFLR parameter on the Restore Document Library Object (RSTDLO) command.

The basic recovery steps for a restore operation are as follows:

  1. Check the job log to determine where the previous RSTDLO DLO(*ALL) command failed. The job log identifies which folder failed to restore.
    Note: If the failure occurred during the restore of mail, you need to restore all documents and folders.
  2. Find the first folder after the folder that failed to restore. Use the list that was created during the last SAVDLO OUTPUT(*PRINT or *OUTFILE) operation or use the DSPTAP DATA(*SAVRST) command to determine which first-level folder is next. To find the first-level folders, find the object type *FLR. Look at the Document or Folder Information column. The name of a first-level folder does not contain a forward slash (/).
  3. Load the first media volume of the SAVDLO DLO(*ALL) save media.
    Note: You must always start with the first volume of the SAVDLO media for each set of 300 first-level folders. You must load each volume in the set of SAVDLO save media in sequence.
  4. For each first-level folder, type the following command and press the Enter key:
    RSTDLO DLO(*ALL) SAVFLR(folder-name-list)
           DEV(media-device-name)
    Where the folder-name-list has the names of the first-level folders identified from the list described in step 2. You can specify a limit of 300 first-level folders.

    Repeat this step for each set of 300 first-level folders.