Rolling back the upgrade on a Windows system
Follow these steps to roll back a server upgrade on a Windows system.
Note: These instructions assume the default installation location. If you used a different location when installing and upgrading your server, substitute that path for the paths specified in this task.
To roll back a server upgrade on a Windows system, complete the following steps:
- Stop the server. To stop the server, make sure you are logged in with the user ID that was specified as the owner of the installation when the software was installed. Go to the %COLLATION_HOME%\bin directory. Enter the following command:
- Use the Windows Task Manager to ensure that all TADDM server Java™ processes are stopped.
- Restore the server files, using the backup copies you created
before the upgrade:
- Go to the c:\ibm\ directory.
- Rename the current installation directory to cmdb.bak.
- Extract the backup files. For example, use the following command: unzip cmdb.zip
- Restore the database. To restore a DB2® database, follow these steps:
To restore an Oracle or DB2 for z/OS® database, refer to the database software documentation for instructions.
- Log is as the DB2 database instance owner (for example, db2inst1).
- Run the following
where cmdb is the name of your database.
db2 restore database cmdb
- Start the TADDM server.
After the rollback process is complete, you might have one or more directories with the following prefix:
_uninst. When the directories are empty, you can delete the directories with the
_uninstprefix. If you have more than one directory with the
_uninstprefix, the directory with the largest number is the directory that is used for the rollback process.