Use this checklist to restore your IBM i if you lose your entire system due to a disk drive failure.
Note: Before going to a hot site, consider the following: Encryption of the Robot Save program library, RBSPGMLIB, is not recommended. If you did encrypt RBSPGMLIB, contact Technical Support to assist you with adding the necessary steps to the Disaster Recovery plan or Restoration Checklist to accommodate decryption and restoration of RBSPGMLIB at the hot site.
You must restore the program before you restore RBSKEYLIB (see step 10).
Before starting your restoration, obtain temporary security codes for all Robot products. Security codes are available by calling your Robot Regional Sales Manager.
Locate the following reports:
The most recent Robot Save printed Restoration Procedures report. The report lists the volumes you will need to use to restore your system. Locate these volumes and have them available for the restore process.
The Audit Report (RBS405).
The Saved Object List Contents Report (RBS407). Note: The Restoration Procedures report does not include object list restoration information; if you use objects lists as part of your backup strategy, you should have a copy of this report.
Follow the instructions for your system and environment in the IBM Backup and Recovery Guide to restore the Licensed Internal Code and the IBM i operating system.
Sign on to the console as QSECOFR.
Put the system into a restricted state.
Mount the volumes indicated on the Restoration report to restore the user profile data. Enter the restore user profile data command as shown on the restoration report.
Mount the volumes indicated on the Restoration report to restore your configuration data. Enter the restore configuration data command as shown on the restoration report.
Note: If you're restoring to a disaster recovery test system, check with your disaster recovery personnel for the recommended value for the System Resource Management parameter before entering the RSTCFG command.
Refer to your printed Restoration Procedures report for steps 8 through 11.
Restore the Robot Save data library RBSDTALIB. Mount the volumes indicated and enter the restore command as shown on the restoration report. Specify *REWIND as the End of tape option.
Restore the Robot Save program library RBSPGMLIB. You may need to restore the library and then restore the changes to the library. Mount the volumes indicated and enter the restore commands as shown on the restoration report. Specify *REWIND as the End of tape option.
If you have encrypted data, restore RBSKEYLIB. It contains the encryption keys necessary to restore your encrypted data. Specify *REWIND as the End of tape option.
Note: You must enter the encryption key that was used to save RBSKEYLIB.
Restore the library RBTSYSLIB. Mount the volumes indicated and enter the restore command as shown on the restoration report. Specify *REWIND as the End of tape option.
Add RBTSYSLIB to the system portion of your library list using the following command:
Add RBSPGMLIB and RBSDTALIB to your library list. If you have save files that need to be restored, execute the command RBSRSTSAVF. This restores the data necessary to access the save files on your ASP. The data is stored in library RBSDTALIB.
Note: If you're not sure whether you have any save files to restore, we recommend that you execute the RBSRSTSAVF command anyway.
If you're restoring your system on a system whose name differs from your regular system name, run the RSLCHGSYSN (Change System Name in Files) command to change the system name for the restoration process.
RSLCHGSYSN BEFORE(previous_system_name) AFTER(current_system_name)
Do one of the following:
If you're using IBM commands only to complete the restoration (that is, you are not using Robot Save Guide System Restoration), do steps 15, 16, 17, and 18. (Note: If you're restoring encrypted data, use Robot Save Guided System Restoration or the Robot Save restoration commands to complete the restoration. Although you can restore nonencrypted objects using the IBM restore commands, using Robot Save allows you to restore both encrypted and nonencrypted objects saved on the same tape.)
If you are using Robot Save Guided System Restoration to complete the restoration, go to Using Robot Save Guided System Restoration to Restore. Read the note regarding AMLs and do steps 19, 20, and 21.
Using IBM Commands to Restore
If you are restoring from a *NONSYS save, enter the following command using the tapes specified on the restoration report:
RSTLIB SAVLIB(*NONSYS) DEV(device_name)
Note: The RSTLIB command will not restore any encrypted libraries. You must restore encrypted libraries separately using the Robot Save restore commands (located in RBSPGMLIB) after the *NONSYS restore completes.
Remove the Robot Save exit programs. Enter the WRKREGINF command and press Enter. On the Work with Registration Points panel, locate the following exit points, QIBM_QTA_STOR_EX400, format EX400200, and QIBM_QTA_TAPE_TMS, format TMS00200, and select them using option 8, Work with exit programs. When the Work with Exit Programs panel displays, use option 4 to remove the programs.
Enter the following command to restore your documents and folders:
RSTDLO DLO(*ALL) SAVFLR(*ANY) RENAME(*SAME) RSTFLR(*SAME) DEV(device_name)
Or, select QDOC from the Robot Save Guided System Restoration Procedures panel.
If you save the Integrated File System (IFS), enter the following command to restore IFS files, using the parameter values shown in the Restoration report.
RST OBJ(('/*') ('/QSYS.LIB' *OMIT) ('/QDLS' *OMIT)) + SUBTREE(*ALL) ALWOBJDIF(*ALL) DEV('/QSYS.LIB/tapedrive.DEVD') VOL(volume_ids) SEQNBR(sequence_numbers) LABEL(label) ENDOPT(*REWIND)
Or, select RBSSAVIFS from the Robot Save Guided System Restoration Procedures panel.
Continue with step 22.
Using Robot Save Guided System Restoration to Restore
If you're using a device that is not in Robot Save, you must define the device to Robot Save before continuing.
If you've been using an AML at your original site, but do not plan to use an AML when restoring your system, we recommend you remove the device from the AML. This allows Robot Save to use the device as a standalone unit. Do the following to remove the device before continuing with the restore operation:
Enter the command RBSPGMLIB/RBS to display the Robot Save Main Menu.
Select option 7, System Setup Menu.
Select option 3, AML Maintenance.
On the Automated Media Library Maintenance panel, enter a 2, AML Devices, next to the AML name.
On the Automated Media Library Device Maintenance panel, enter a 3, Remove from AML group, next to the device.
Enter the command RBSPGMLIB/RBS to display the Robot Save Main Menu. Select option 5 to display the Automated Backup Setup Menu.
On the Automated Backup Setup Menu, select option 4 to display the Guided System Restoration Procedures panel.
Press F22 to restore the items that were on the system when the last backup was performed. Robot Save tells you which volumes to mount and then restores libraries, document library objects, and the IFS automatically until all items and their changes are restored. When each item is restored, it's marked "RESTORED."
When all items and their changes are restored, enter the following commands on the system console to restore object authority for the objects:
ENDSBS *ALL *IMMED
If some objects were created after you last saved your user profile security data, the ownership of the objects is transferred to the system default owner. You can fix this problem by executing the command for each library that has this problem.
When you execute this command, Robot Save finds the object archive entry for each object in the library and changes the ownership to the object owner as of the last object save. This should take care of any lost owner problems.
If you use journaling, you will need to apply your journal receivers from the last time Robot Save saved the file. Execute the DSPJRN command on the file to find out when the file was last saved. Place the next sequence number in the FROMENT parameter of the APYJRNCHG command. Use *LAST for the ending sequence number.
Similarly, apply the journal receivers to all the appropriate files in your libraries.
If you need to restore an object list backup as part of your system restoration, you must have a backup of RBSPGMLIB that was saved after the archive job for the object list completed. You then can use the Robot Save Object Archive menus to restore the object list.
If you are restoring your system on a system whose name differs from your regular system name, run the RSLCHGSYSN (Change System Name in Files) command. This changes the system name for any other Robot products that are installed, as specified on the product parameter. Use the following command:
RSLCHGSYSN BEFORE(previous_system_name) AFTER(current_system_name)
Press F4 to select the product name.
When you have finished and everything looks normal, do a PWRDWNSYS *IMMED RESTART(*YES).
After you're finished restoring your system, enter license key information for your IBM applications and security codes for your Robot products. Review your setup to find any additional information you may need to re-enter. We also recommend that you review your hardware configuration on the new system.
Still have questions? We can help. Submit a case to Technical Support.