Restoring Essential OCSM Files

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

Your essential OCSM files backup is present in your new OCSM Server in the Backup Path provided during the Essential OCSM Files Backup procedure. 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 rpm .zip file.
  2. Copy the script to the /root/ directory of your newly installed OCSM Server.
  3. Run this command to provide necessary permissions for the script:
    chmod +x backupAndRestoreOtherFiles.sh
  4. To begin restoring essential OCSM 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 OCSM backup files from the Backup location on your new OCSM 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...