Performing the Backup

FlexNet Code Insight 6.13.2

To perform a backup, perform the following steps.

To perform a backup, do the following:

1. The FlexNet Code Insight Core and all Scan Engine servers must be stopped to perform the backup.
See Administration: Starting & Stopping Servers for details on stopping the servers.
If you have a multi-scan server environment, perform these steps for each scan server.
2. Copy or tar/zip the <CODE_INSIGHT_USER_HOME> directory.
This directory contains the client logs and Detector client properties used by FlexNet Code Insight.
If you have a multi-scan server environment, perform these steps for each scan server.
3. Copy or tar/zip the <CODE_INSIGHT_ROOT_DIR> directory.
This directory contains all the components of the FlexNet Code Insight system.
If you have a multi-scan server environment, perform these steps for each scan server.
4. Copy or tar/zip the workspaces directory.
The workspaces directory is defined in the <CODE_INSIGHT_USER_HOME>/scanEngine/scanEngine.properties file. Search for the workspaceBaseDirPath parameter. Typically, this would be located in <CODE_INSIGHT_ROOT_DIR>/workspaces.
This is only necessary if the workspaces directory has been defined outside of the <CODE_INSIGHT_ROOT_DIR>.
This directory contains all of the workspace data and metadata.
If you have a multi-scan server environment, perform these steps for each scan server.
5. Take a complete database dump of the central database configured in the <CODE_INSIGHT_USER_HOME>/core/core.db.properties file.
For MySQL, you can use one of the following:

Utility

URL

mysqldump program

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

MySQL Backup utility

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

For Oracle, refer to the following for detailed instructions:

http://www.orafaq.com/wiki/Oracle_database_Backup_and_Recovery_FAQ 

6. When the backup is completed, start the FlexNet Code Insight servers.
See the Administration: Starting & Stopping Servers section of this guide for details on starting the servers.
If you have a multi-scan server environment, perform these steps for each scan server.