Restoring Essential Session Monitor Files

This section describes the procedure for restoring the backup of essential files and folders of Session Monitor. This section is applicable only if node type is Mediation Engine.

Your essential Session Monitor files backup is present in your new Session Monitor Server in the Backup Path provided during the section: Taking a Backup of the Essential Session Monitor Files. The following files and folders are restored as a part to the backupAndRestoreOtherFiles.sh script:
  • All local.conf files from directory/opt/oracle/ocsm/etc/iptego/
  • Savepoints Directory - /opt/oracle/ocsm/var/vsi/savepoints/
  • Traces Directory - /opt/oracle/ocsm/var/vsi/dumps/
  • Saved Calls Directory - /opt/oracle/ocsm/var/vsi/saved/
  • Uploaded Apps Directory - /opt/oracle/ocsm/var/vsi/pscripts/upload/
  • cdr, mdr, tdr Directory - /opt/oracle/ocsm/var/vsi/ftp/
  • CSV Exports Directory - /opt/oracle/ocsm/var/vsi/exports/
  • Packet Inspector Search Result Directory - /opt/oracle/ocsm/var/vsi/pint_results/
  • Version Files - /opt/oracle/ocsm/etc/iptego/version and /opt/oracle/ocsm/etc/iptego/version.history
  1. Get the backupAndRestoreOtherFiles.sh script present in the Session Monitor installation software Zip bundle (ocsm-5.2.0.0.5-GA.zip) under the scripts/Backup and Restore Scripts/ directory file.
  2. Copy the script to the /root/ directory of your newly installed Session Monitor Server.
  3. Run this command to provide necessary permissions for the script:
    chmod +x backupAndRestoreOtherFiles.sh
  4. To begin restoring essential Session Monitor files, execute the script:
    ./backupAndRestoreOtherFiles.sh -a restore
  5. When prompted, provide input as 2 and provide the path of backup directory. Doing this restores all essential Session Monitor backup files from the Backup location on your new Session Monitor Server to respective directories.
    For example:
    [root@ocsm-server ~]# ./backupAndRestoreOtherFiles.sh -a restore
     
    Starting Restore of Essential OCSM Files...
     
    Where is your Essential OCSM Files Backup Data present ?
         1. Remote Server
         2. Mounted Disk
    Your Input is:
    2
    Backup Path of Mounted Disk:
    /root/ocsmBackup/ocsmFilesBackup/
     
    Restoring backup in progress ! Please wait until finished...