Performing the Restore

Code Insight 6.14.2 SP1

To perform a restore, use the following steps.

To perform a restore, do the following:

1. The Code Insight Core and all Scan Servers must be stopped to perform the restore.
See the Administration: Starting & Stopping Servers section of this guide for details on stopping the servers.
If you have a multi-Scan Server environment, perform these steps for each Scan Server.
2. Delete the current content of the <CODE_INSIGHT_USER_HOME> directory, and extract the <CODE_INSIGHT_USER_HOME> backup to this location.
If you have a multi-Scan Server environment, do this for each Scan Server.
3. Delete the current content of the <CODE_INSIGHT_ROOT_DIR> directory, and extract the <CODE_INSIGHT_ROOT_DIR> backup to this location.
If you have a multi-Scan Server environment, perform these steps for each Scan Server.
4. Delete the current content of the workspaces directory, and extract the backup to this location.
This is only necessary if the workspaces directory has been defined outside of the <CODE_INSIGHT_ROOT_DIR>.
If you have a multi-Scan Server environment, perform these steps for each Scan Server.
5. Restore the complete database dump to the central database.
For MySQL, you can use one of the following:

Utility

URL

mysqlimport program

http://dev.mysql.com/doc/refman/5.7/en/mysqlimport.html 

MySQL Administrator Client Restore utility

http://dev.mysql.com/doc/refman/5.7/en/mysqldump.html 

For Oracle, refer to http://www.orafaq.com/wiki/Oracle_database_Backup_and_Recovery_FAQ for detailed instructions.
6. Once the restore is completed, you may start the Code Insight servers.
See Administration: Starting & Stopping Servers for details on starting the servers.
If you have a multi-Scan Server environment, perform these steps for each Scan Server.