SysMaint: Reporting Engine Backup and Recovery

Document created by RSA Information Design and Development on Jul 29, 2016Last modified by Susan Ewald on Nov 1, 2016
Version 2Show Document
  • View in full screen mode
 

Administrators can back up and restore configuration and database files for Reporting Engine, so if information is lost or deleted, it can be restored.

Prerequisites 

Before backing up and restoring the configuration and database files for Reporting Engine, make sure there is enough disk space in the directory where the backup will be generated. 

Back Up Files

For a full backup of configuration and database files:

  1. Stop the Reporting Engine using the following command:
    stop rsasoc_re
  2. Create a tar.gz of the bulk folder stored under /home/rsasoc
    cd /
    tar --atime-preserve --recursion -cvpPhjf<DirectoryWhereSpaceIsAvailable>/re.tar.gz --exclude='home/rsasoc/rsa/soc/reporting-engine/temp' /home/rsasoc

To back up only the configuration files: 

Note: This is the same as the full backup, but does not back up the report results and history.

  1. Stop Reporting Engine using the following command:
    stop rsasoc_re
  2. Create a single tar.gz of all the subdirectories except the subdirectories resultstore, livecharts, alerts, statusdb, logs, and temp under /home/rsasoc/rsa/soc/reporting-engine.
    cd /
    tar --atime-preserve --recursion -cvpPhjf<DirectoryWhereSpaceIsAvailable>/refiles.tar.gz --exclude='/home/rsasoc/rsa/soc/reporting-engine/resultstore' --exclude='/home/rsasoc/rsa/soc/reporting-engine/livecharts' --exclude='/home/rsasoc/rsa/soc/reporting-engine/statusdb' --exclude='/home/rsasoc/rsa/soc/reporting-engine/logs' --exclude='/home/rsasoc/rsa/soc/reporting-engine/temp' --exclude='/home/rsasoc/rsa/soc/reporting-engine/formattedReports'--exclude='/home/rsasoc/rsa/soc/reporting-engine/subreports' /home/rsasoc/rsa/soc/reporting-engine 

Restore Files

For a full restore of configuration and database files:

  1. Stop the Reporting Engine using the following command:
    stop rsasoc_re
  2. Re-install the Reporting Engine rpm using the following command:
    rpm -i --force [reprorting-engine.rpm]

Note: On reinstalling, some folders will be created under /home/rsasoc.

  1. To remove the already created rsasoc directory:
    rm -r /home/rsasoc
  2. Change to the / directory.
    cd /
  3. Copy the necessary tar file re.tar.gz using a utility like SCP to the host in the / folder.
  4. Extract the tar file using the following command:
    tar -xvf re.tar.gz 
  5. Delete the tar files.
    rm re.tar.gz
  6. If the restored content does not have permission for rsasoc, use the following command to reinstate the user privilege:
    chown -R rsasoc:rsasoc/home/rsasoc
  7. Start the Reporting Engine by using the command:
    start rsasoc_re

To restore the configuration files:

  1. Log on to the host you intend to restore from a saved backup using ssh.
  2. Stop the Reporting Engine using the following command:
    stop rsasoc_re
  3. Change to the / directory.
    cd /
  4. Copy the necessary tar file using a utility like SCP to the host in the folder.
  5. Extract the tar file by using the following command:
    tar -xvf refiles.tar.gz 
  6. Delete the tar files.
    rm refiles.tar.gz
You are here: Backup and Restore Data for Hosts and Services > Reporting Engine Backup and Recovery

Attachments

    Outcomes