Upgrading AwareIM to a newer version

Since it doesn't seem to be stated in the documentation here's a quick Howto
This information is based on the professional version running on Linux an comes without ANY warranty !!
Don't even think of doing an upgrade without a valid backup !
1. Export the relevant business spaces from the current version.
2. Stop AwareIM and also make sure that all Java processes being used from Jboss and Tomcat are stopped.
3. Make a backup of both your AwareIM directory and the databases (BASDB and BASDBTEST).
4. Log in to your account on AwareIM.com and download the latest version using the "Update" link.
5. Rename your old AwareIM directory and place the contents of the downloaded archive into original directory.
6. Copy the BASServer.props (and startupOptions.props if you have) from the backup into the new version. If you modified your TimeOut Settings then also copy these files from the backup to your new version.
7. Run productKey.sh and enter the new productkey from your AwareIM account.
8. Start AwareIM and see if everything works.
In case some things don't work as expected (missing Reports or customized Headers and so on) then either
1. Restore the exported Business Space from Step 1
or
1. Copy the contents from .../Tomcat/webapps/AwareIM from the backup to your new version.
2. Copy the contents from .../DocTemplates from the backup to your new version.
In case everything went wrong and nothing works:
1. Stop AwareIM and also make sure that all Java processes being used from Jboss and Tomcat are stopped.
2. Replace the new AwareIM directory with the Backup you made before (you did do it, didn't you ?)
3. Drop the Databases and restore them from the Backup.
4. Now start AwareIM again and it'll look as if nobody ever touched the system...
Please don't ask me how to upgrade on Windows !