./imcl listAvailable
shows only what is available (in connected repository)
./imcl listInstalledPackages
shows what is actually installed (according to IM registry)
Installation Manager is part of WebSphere installation so it should be in the backup.
See: https://www.ibm.com/docs/en/installation-manager/1.9.2?topic=manager-backing-up-restoring-installation
Data used by IM are in 4 different folders
1. Agent data location
Default path: /var/ibm/InstallationManager
2. Shared resources
Default: /opt/IBM/IBMIMShared
3.Installation Manager registry file
Default: /etc/.ibm/registry/InstallationManger.dat
4. Installation manager itself
Default: /opt/IBM/InstallationManager
Installed products registry is in Agent Data location.
However, these directories are different for non-admin / group installation and you can also provide custom location for them.
See: https://www.ibm.com/docs/en/installation-manager/1.9.2?topic=mode-agent-data-location
So now there are 2 possible scenarios:
1. You have luck and you installed new IM using different user or different paths
than original installation and your agent data are still somewhere on disk
2. With new IM installation you overwritten data from previous installation
and these data are gone or were removed earlier by somebody else.
If this is case nr 2 - then I don't have any proven solution beside restoring from backup.
You can try to import installation using
./imcl import -installationDirectory ... -repositories ...
https://www.ibm.com/docs/en/installation-manager/1.9.2?topic=wfcl-import-installed-packages-in-installation-manager-by-using-imcl-command
But as you see in the documentation this command was implemented to:
"add existing packages that were installed with installation tools other than Installation Manager"
I was using it long time ago to import instances installed by WebSphere Installer (WAS7)
However, never imported anything installed by IM itself - so to be honest I am not sure if this is an option for you.
------------------------------
Sebastian Tylko
------------------------------