Use the following procedure to perform a disaster recovery with an autochanger:
If necessary, reinstall the operating system and Backup software.
During installation, use the same pathname for the indexes that you previously used and backed up.
Run the jbconfig command to add and configure the autochanger.
Issue the nsrjb -vHE command.
This command resets the autochanger for operation, ejects backup volumes, reintializes the element status, and checks each slot for a volume. If the -E option is not supported for your autochanger, use the sjiielm program (for example, /etc/LGTOuscsi/sjiielm) to initialize element status.
If a volume is loaded in the drive, it is removed and placed into a slot. This operation might take a few minutes to complete.
If you receive an error, typically the robotic device is having trouble finding a slot for a volume it has removed from the drive. Try moving some backup volumes around to make room for the volume, or, if possible, remove the volume from the robotic arm and manually place it in a slot.
Locate your bootstrap data, either an electronic file or hardcopy.
With this information, determine which volumes are necessary for recovering the server indexes and configuration files.
Enter the nsrjb -I command to inventory the contents of the autochanger, to help you determine whether the volumes required for recovering the bootstrap are inside the autochanger.
Chances are the volume currently loaded in the drive contains the most current bootstrap.
If you want to speed up this process, issue the command with the -S flag and list only the slots where you think the required backup volumes reside. This saves you from having to inventory the entire autochanger contents. You must list the slots in order (for example, "nsrjb -I -S 1-3"). If you want to inventory slots out of order, (for example 1, 3, and 6,) you must issue the nsrjb -I -S command separately for each slot. All the volumes currently loaded in the autochanger are marked with an asterisk because you have not yet recovered the media index.
Load the appropriate volume by entering the following command:
# nsrjb -l -S slot -f device-name |
where slot is the slot where the first volume is located and device-name is the pathname of the first drive. You can also use the Backup Mount button.
Enter the mmrecov command.
If the bootstrap spans across more than one volume, Backup prompts you to load another backup volume.
Enter the nsrjb -u command to unmount the volume after the indexes have been recovered.
# nsrjb -u -S slot -f device-name |
You can also use the Backup Unmount button.
Shut down Backup.
Rename /nsr/res to /nsr/res.orig.
Rename the /nsr/res.R directory to /nsr/res.
When you recover and rename the /nsr/res files, you replace the configuration files you created when you reinstalled and configured the autochanger. This step ensures that you have all your configurations that existed on the last backup, prior to the disaster.
Restart Backup.
After the server indexes and configuration files are recovered, you have a fully functioning autochanger. Inventory the contents of your autochanger, especially if you manually moved volumes as part of the disaster recovery.