Migrate To A New Server

When you want to move your existing installation to a new server but preserve all data, please follow the steps:

I. Easiest Procedure

  1. On the old server, shut down the CallReplay and CallReplayDb services and set their Startup Mode to Disabled.
  2. Copy or move the CallReplay Data Folder (by default, C:\CallReplay) to the new server. The CallReplay Data Folder is configured once at installation time and contains the sub-folders Database, Calls, Licenses, Logs, etc.
  3. Then run CallReplay Setup on the new server. When asked about the Data Folder to use, point it to the copied folder containing old data.
  4. After setup completes, you should be able to see the old calls and play them.
  5. Cleanup the old server. Do not start the old server again after the license was re-activated on new server.


Note: The Data Folder in Linux is the /var/lib/callreplay/ directory.
 
Things to take into consideration after the migration:
 
Forked PBX Reconfiguration
 
After the migration you may need to run the Forked PBX configuration again, and make sure that:
 
* Under the Auth & Service tab, make sure you modify the Phone service Address (this) field, and fill it with the IP of the new machine:

* Under the Recording Trunk tab, make sure you fill in again the Device Pool and the Security Profile fields (if they were reset):

Different IPs for the Old Server and New Server
 
In case you migrated between machines with two different IPs, you may need to run the CallReplay Site Configuration again (from the Start menu), and make sure you update the Site Host Name and Site IP entries with the new values of the server.

II. Minimum Downtime Procedure

  1. Install and configure CallReplay on the new server. Verify that recording works.
  2. Copy or move the CallReplay Calls folder to the new server, into a new folder. Exclude from copying/moving the sub-folder of current day.
  3. On the old server, shut down the CallReplay and CallReplayDb services and set their Startup Mode to Disabled.
  4. Copy/Move the Database folder to the new server, then copy/move the folder left un-copied at step 2.
  5. On the new server, shut down the CallReplay and CallReplayDb services.
  6. In the CallReplay Data Folder, move the Database and Calls folders to a backup folder.
  7. Move in their place the Database and Calls folders copied at steps 2 and 4.
  8. Start the CallReplay and CallReplayDb services.
  9. Review recording configuration (it has the config from the old server) and verify functionality.
  10. If necessary, Restore the Calls folder backed-up at step 6.
  11. Cleanup the old server. Do not start the old server again after the license was re-activated on new server.

NOTE

For every migration procedure, both CallReplay server versions must be exactly the same.