Migrating existing emails from SearchStorage to Elasticsearch

In a side by side migration upgrade from 7.x, after restoring the backup on the new server, you must run a migration tool to migrate existing emails from the old SearchStorage directory to Elasticsearch on the newly installed version 9.2 Enterprise Server.

To migrate existing interactions in a side by side upgrade scenario
  1. On the 8.0+ Enterprise Server, in Windows, navigate to Services.
  2. Right-click MiContact Center Storage and click Stop.
  3. On the 7.x Enterprise Server, copy all .msg files from the SearchStorage location in CCM\DataDirectory.
  4. On the 8.0+ Enterprise Server, paste them in the new SearchStorage location (set during installation).
  5. Launch the command prompt.
  6. Run the following command: cd “<drive>:\Program Files (x86)\Mitel\MiContact Center\Services\StorageServices\ElasticsearchMigration”, replacing <drive> with the appropriate drive chosen during installation.
  7. Run the command StorageService.ElasticsearchMigration.exe /r.
  8. When the message Migration finished for storage directory appears, close the command prompt.
  9. Navigate to Services.
  10. Right-click MiContact Center Storage and click Start.