13.0 Backing Up and Restoring Data

The Change Guardian backup and restore utility is a script that performs a backup of Change Guardian data and also allows you restore the data at any time on the Change Guardian server.

NOTE:You can restore data only on the same version of Change Guardian in which the data was backed up. Restoring data between different Change Guardian server versions might cause data incompatibility due to changes between the product versions. Similarly, you can restore data only on the same type of data storage using which the data was backed up. For example, data that you back up in traditional storage can be restored only in traditional storage.

You can use the backup and restore utility in the following scenarios:

  • System Failure: If system fails, you must first reinstall Change Guardian and then use the ./cgbackup_util.sh script with the restore parameter to restore the most recent data that you backed up.

  • Data Loss: If data is lost, use the ./cgbackup_util.sh script with the restore parameter to restore the most recent data that you backed up.

You must back up the following data to make a full restore:

  • Configuration data: Data stored in the config, data, 3rdparty/postgresql, and 3rdparty/jetty directories, and the data in the Change Guardian database. This data includes configuration files, property files, keystore files, alert rules, all assets and groups in Agent Manager,.yml configuration files, database that stores AMS data, AD Domain information, additional event destination information, email settings, users, filters, and dynamic lists.

    NOTE:The configuration data is critical and you should always include the configuration data in the backup.

  • Event data: Dynamic event data and raw event data stored in the data/eventdata and /var/opt/novell/sentinel/data/rawdata directories. Event data also includes event associations stored in the /var/opt/novell/sentinel/data/eventdata/exported_associations directory. The event associations data includes correlated event association data and the incident event association data.

  • Secondary storage data: Closed event data files that have been moved to the secondary storage.

  • Change Guardian logs: Log files generated by Change Guardian and stored in the /var/opt/novell/sentinel/log directory.

  • Change Guardian Policies: Policies and policy assignments that are stored in Change Guardian server. You can also use the Export and Import options to back up policies. However, backup script allows you to include policies as well in the backed up data.

This chapter provides the following information: