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:

  1. 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:
    stopserver.bat
    
  2. Use the Windows Task Manager to ensure that all TADDM server Java™ processes are stopped.
  3. Restore the server files, using the backup copies you created before the upgrade:
    1. Go to the c:\ibm\ directory.
    2. Rename the current installation directory to cmdb.bak.
    3. Extract the backup files.
      For example, use the following command: unzip cmdb.zip
  4. Restore the database.
    To restore a DB2® database, follow these steps:
    1. Log is as the DB2 database instance owner (for example, db2inst1).
    2. Run the following command:
       db2 restore database cmdb
      where cmdb is the name of your database.
    To restore an Oracle or DB2 for z/OS® database, refer to the database software documentation for instructions.
  5. 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 _uninst prefix. If you have more than one directory with the _uninst prefix, the directory with the largest number is the directory that is used for the rollback process.