MailStore Server to MailStore SPE Migration

Revision as of 15:05, 14 November 2014 by Ltalaschus (talk | contribs)

This guide shows, how to migrate a MailStore Server installation into the MailStore SPE.

This can be useful, if the customer has used MailStore Server before, but now he wants the archive to be stored in a service provider's datacenter.

Also, when an on-premise mailserver or on-premise e-mail files, like PSTs, should be archive by an SPE instance, it might be a good decision to do the intial archiving with MailStore Server in the customer's infrastructure, and then migrating the resulting MailStore databases into the SPE. Usually a MailStore Server Trial license will do for that purpose.

Since the MailStore databases usually are considerable smaller then the uncrompressed e-mail volume, the amount of data to be transferred initially is significantly less.

The two product use a slightly different format of the MasterDatabase, which holds the configuration items, therefore it is not possible just to move the entire MailArchive directory of MailStore Server into the SPE.

However, it is possible to transfer all the archive stores.

  • First you have to create an instance. The instance does not have to be started yet.
  • Stop all archiving profiles in MailStore Server, either by setting the execution mode to manual or by disabling all scheduled tasks.
  • Stop the MailStore Server service.
  • Copy the archive stores directories from MailStore Server into the instance's Data' directory. You do not need to transfer the MailStoreMaster.fdb and MailStore.xml. Make sure, there is no remaining .lock file in of the archive store directories. If there is any, the service is not stopped yet completely.
  • Start the instance.
  • [Instance_Management_-_Instance_Administration#Attach_Existing_Archive_Store Attach] the transferred archive stores to the newly created instance.
    Hint: If there are lots of archive stores to be attached, you can use a Python script to attach them automatically. More about this here
Ms spe move instance 01.png
Ms spe move instance 04.png
  • Hint: If you need a minimal downtime of the instance, you could stop all archiving processes, create a backup of the instance with VSS, and store the backup in the new location. Then you just have to change the path instead of waiting for the transfer process.


Script

Here comes the scripting part, yeah.