Backing up Klocwork data
This article describes backing up and restoring Klocwork data. All data generated during Klocwork project builds, including the build information stored in the MySQL database and the defect data stored in Lucene is kept in the projects_root directory, so backing up the entire directory makes sure that this information can be restored if necessary. For more information about the default location and other special considerations, see Projects_root directory. After installation, Klocwork does not modify any files outside the projects_root directory, so in general, it is not necessary to periodically back up files outside the projects_root directory. However, if you have:
As part of an integration build analysis, Klocwork copies any necessary data from the tables directory to the projects_root, so you do not need to back up the tables directory. Performing a backupNote: You need to back up any customized Klocwork configuration files from <server_install>/config separately.
To perform a backup:
Restoring from a backupNote: Because you are restoring data from the last time you performed a backup, you will lose all analyses and transactions performed since the backup. There is no way to automatically reapply transactions to the last backup.
To restore from a backup:
|