Sys Maintenance: Security Analytics Server Backup and Recovery

Document created by RSA Information Design and Development on Jul 28, 2016
Version 1Show Document
  • View in full screen mode
 

Administrators can back up and restore configuration and database files for a Security Analytics server, so if information is lost or deleted, it can be restored.

Back Up or Restore On Demand

  1. Shut down Security Analytics.
  2. Run the following command to grab the H2 Jar:
    wget http://repo1.maven.org/maven2/com/h2database/h2/1.3.172/h2-1.3.172.jar

Back Up Files

To back up the database files, run the following commands:

cd /var/lib/netwitness/uax/db
java -cp /path/to/h2-1.3.172.jar  org.h2.tools.Backup -file %backupName%

Note: For any help regarding the backup procedure, you can run the command java -cp /path/to/h2-1.3.172.jar org.h2.tools.Backup -?

To back up configuration files, Create a tar.gz file that contains the file nodeSecret and the sub directories conf, lib, logs, plugins, scheduler, security-policy under /var/lib/netwitness/uax:

cd /
tar -cvjf saserver.tar.gz /var/lib/netwitness/uax/nodeSecret* /var/lib/netwitness/uax/conf /var/lib/netwitness/uax/lib /var/lib/netwitness/uax/logs /var/lib/netwitness/uax/plugins /var/lib/netwitness/uax/scheduler /var/lib/netwitness/uax/security-policy

Restore Files

To restore the backed up database files, run the following commands:

cd /var/lib/netwitness/uax/db
java -cp /path/to/h2-1.3.172.jar org.h2.tools.Restore -file %backupName%

Note: For any help regarding the restore procedure, you can run the command java -cp /path/to/h2-1.3.172.jar org.h2.tools.Restore -?

To restore the configuration files:

  1. Log on to the host you intend to restore from a saved backup using ssh.
  2. Change to thedirectory.
    cd /
  3. Copy the necessary tar file saserver.tar.gz using a utility like SCP to the host in the / folder.
  4. Extract the tar file by using the following command:
    tar -xvf saserver.tar.gz 
  5. Delete the tar file.
    rm saserver.tar.gz
     
You are here: Backup and Restore Data for Hosts and Services > Security Analytics Server Backup and Recovery

Attachments

    Outcomes