Taking a Backup of the Essential Session Monitor Files

This section describes the procedure for taking a backup of the essential files and folders of Session Monitor. Instructions in this section are applicable only if the node type is Mediation Engine.

The following files and folders are backed up as a part of the backup script backupAndRestoreOtherFiles.sh:
  • 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 file present in the Session Monitor installation software RPM .zip file.
  2. Copy the backupAndRestoreOtherFiles.sh script file to the /root/directory of your Session Monitor Server.
  3. Run this command to provide the necessary permissions for the script:
    chmod +x backupAndRestoreOtherFiles.sh
  4. Execute the script to begin taking backup of the essential Session Monitor Files:
    ./backupAndRestoreOtherFiles.sh -a backup
    You can choose the location to copy the backup on the target machine (Remote Server or Shared Drive). When prompted, the script asks you for IP/path or Path to store the backup based on the input.

    Note:

    Once the script has run successfully, you can manually copy any other additional folder or files which are considered to be important, from the source machine to the target machine.

    Example for Remote Server:

    (For more information on setting up passwordless login to remote server, see Generate an SSH Key to authorize the Remote Server for passwordless SSH logins).

    [root@localhost  ~]# ./backupAndRestoreOtherFiles.sh -a backup
     
    Starting Backup of Essential OCSM Files...
     
    Where do you want to copy the Essential OCSM Files Backup ?
         1. Remote Server (e.g. SAN, newly created OCSM as part of Strategy-2 etc.)
         2. Mounted Disk (e.g. NFS/NAS/DAS etc.)
    Your Input is:
    1
    Remote Server's IP:
    10.184.19.114
    Remote Server's User (used to ssh):
    root
    Remote Server's Path to Store Backup:
    /root/ocsmBackup/ocsmFilesBackup/
     
    Copying in progress ! Please wait until finished...
    Example of a Mounted Disk:
    [root@localhost ~]# ./backupAndRestoreOtherFiles.sh -a backup
     
    Starting Backup of Essential OCSM Files...
     
    Where do you want to copy the Essential OCSM Files Backup ?
         1. Remote Server (e.g. SAN, newly created OCSM as part of Strategy-2 etc.)
         2. Mounted Disk (e.g. NFS/NAS/DAS etc.))
    Your Input is:
    2
    Backup Path of Mounted Disk:
    /mnt/oracle/ocsmBackup/ocsmFilesBackup/
     
    Copying in progress ! Please wait until finished...

    Note:

    During the backup process, If copying of any backup files are interrupted due to any network connection issue, system restarts, etc. Re-run the script to resume copying.