Restoring Redis

This section describes the procedure for restoring the backup of Redis data from Fraud Monitor. This section is applicable for Fraud Monitor only.

Your Redis backup will be present in your new OCSM Server in the Backup Path provided during the Redis Backup procedure. For more information, see Redis Backup.
  1. Log in as the root to the console of your Fraud Monitor Server.
  2. Stop the Redis service by running the following command:
    systemctl stop pld-redis
  3. Transfer the Redis Backup file from the backup location by running the following cp command in the newly installed Fraud Monitor Server.
    cp -r <path_to_Redis_backup_directory>/* /opt/oracle/ocsm/var/lib/redis/
    For example:
    cp -r /root/ocsmBackup/redisBackup/*  /opt/oracle/ocsm/var/lib/redis/
  4. Provide the necessary permission for the dump.rdb file by running the following commands:
    chown redis:redis /opt/oracle/ocsm/var/lib/redis/dump.rdb
    chown 644 /opt/oracle/ocsm/var/lib/redis/dump.rdb
  5. Start Redis service by running the following command:
    systemctl start pld-redis