Recovering iSeries Backups
Use the recovery feature to recover the entire backup or selected items to the original iSeries or to an alternate iSeries server. See the following topics for details:
Before performing the recovery, ensure that these requirements have been met:
• | No other jobs are running on the iSeries server. To check for active jobs, log in to the OS400 operating system and issue the WRKACTJOB command. |
• | The user performing the recovery must, at a minimum, have *SECADM privileges. The recovery is run by the user associated with the profile of the backup you are recovering. |
• | Files to recover must have read-write attributes. To assign read-write attributes, log in to the OS400 operating system and grant object authority to the user performing the recovery. For example, enter the following to modify security privileges in the QGPL and QUSRSYS libraries for user QSECOFR: |
# GRTOBJAUT OBJ(QGPL/*ALL) OBJTYPE(*ALL) USER(QSECOFR) AUT(*ALL)
# GRTOBJAUT OBJ(QUSRSYS/*ALL) OBJTYPE(*ALL) USER(QSECOFR) AUT(*ALL)
After the requirements in Preparing to recover from iSeries backups have been met, use this procedure to recover from the iSeries backup:
1 | Using a terminal emulator, such as PuTTY, connect to the appliance using the following: |
– | Appliance IP address |
– | Port 22 |
– | SSH connection type |
2 | Log in as user root. |
3 | Enter the following command to access the console menu: |
# dpuconfig
4 | Select option 4 for Advanced Options. |
5 | Select option 2 for IBM iSeries Backup and Recovery. |
6 | Select option 3 for Restore iSeries. |
7 | Select the iSeries server whose backup you want to recover. |
8 | Select the desired backup. |
9 | Select the recovery type: full or selective restore. |
Notes: Full restore –
• | A full restore recovers everything in the backup. |
• | The /Security Data object contains the save file from the SAVSECDTA command. If the /Security Data object has not been excluded from the backup, it is the first object recovered (via the RSTUSRPRF command), then a RSTAUT command is executed after everything else has been recovered. |
• | The /System Configuration object contains the save file from the SAVCFG command. If the /Security Configuration object has not been excluded from the backup, it is recovered before any other objects, except /Security Data, in the backup file. It is recovered using the RSTCFG command. |
10 | Follow the prompts to select desired options and start the recovery job. |
For selective restore:
• | Enter each file, library, or IFS object to recover, one entry per line. |
• | To recover to the original location, do not enter a destination path. |
• | To recover to an alternate location, enter the full path of the destination. |
• | When your list is complete, type q to end your list and launch the recovery job. |
To recover the iSeries from a catastrophic state, you must first recover the OS and Licensed Internal Code from your supplemental system backup. Next, recover the full backup to obtain data, as described in To recover from an iSeries backup.