Reverting to a Previous Version
1. | Ensure the Code Insight server is stopped. For multi-server installs, ensure all servers are stopped. |
2. | Restore the database. This step is performed on the Core Server only. |
The following commands restore the MySQL database. If you are using Oracle, have your DBA restore the backup.
cd $BACK_DIR/$OLD_VER
mysql ‐h "$DB_HOST" ‐u "$DB_USER" ‐‐password="$DB_PASS" ‐D "$DB_NAME" < db_migration.sql
3. | Restore the workspaces backup. This step is performed on each Scan Server. |
Note:If you did not open, create, or scan any workspaces while the new version was running, you can skip this step.
cd $WS_DIR
tar xf $BACK_DIR/$OLD_VER/ws_migration.tar
4. | Start the previous application. For multi-server installs, do this after you have completed the previous steps. |
cd $OLD_DIR/tomcat/bin
./startup.sh && tail ‐f ../logs/catalina.out