MAILENABLE BACKUP AND RESTORE ( Updated 7/20 )

SUMMARY

It is relatively straight forward to backup and restore MailEnable. When using the default configuration storage method (i.e. not using a database for configuration) you can simply backup everything under the "Mail Enable" directory to an alternate location (by default this will be found in your servers "Program Files (x86)" path). If MailEnable uses flat text files for configuration and email data and therefore all messages and configuration are simple to backup. 

DETAIL

There are three main areas where MailEnable stores configuration and user data. You can use the MEBackup utility supplied by MailEnable or your own third party application to backup the three items. The MEBackup utility is only recommended for small data stores or when you are making a quick local backup of the configuration information, as it just copies files.

When using a third party application or manually backing up, the following three items are necessary for a complete backup and restoration of the MailEnable email platform.

 

REGISTRY

The Windows registry contains server specific configuration information. To back up this, use the Windows registry editor (regedit.exe) to export the following registry branch:

On 32bit versions of Windows
HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable

On 64bit versions of Windows
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mail Enable

More information on how to use the registry editor is available from Microsoft's web site. To recover the backup, stop all services, replace the directory tree from the backup and then import the saved registry file into the registry. 

When recovering your registry make sure in the case of changing machines that you use the correct path for the machine you are migrating to this is imperative if the operating system differs. This is especially the case when going from 32 bit to 64 bit or visa versa. In this case the paths as outlined above are required to be used. It is also required that IME_ADMIN and/or IME_SYSTEM have full control of this registry branch after a restore, you can simply install the latest MailEnable release for your version over the top after all data is recovered to fix any permission problems that may exist however.

Note: Backing up the Windows registry is not critical in nature unless you are using encrypted passwords. If it is lost or not backed up, the outcome will simply mean you need to reconfigure any options in the administration program. If you have a lot of non default settings then it would take time and effort to reset these but if you have not changed many then resetting these options would not take too long.

FILE SYSTEM

MailEnable stores its messages and mail data as files on disk. Each mail message is a separate file.

These folders should be backed up:

1. Message Store (Typically: [Program Files]\Mail Enable\POSTOFFICES) - Recommended to use incremental backup of the message store.

2. Inbound and Outbound Queues (Typically: [Program Files]\Mail Enable\Queues). Note: The data in the queues is temporary - and backing it up may not be of high value since it changes state so frequently.

3. If you use Bayesian Filtering and have a trained dictionary then you could backup this folder also: Mail Enable\Dictionaries

The Diagnostic Report contains the actual paths for the the above storage locations.

Exclusions: If you are using automated or incremental backup software, you should exclude the following files from being backed up (*.blk, *.tmp, _activity.*, *.MAID).

CONFIGURATION STORE

The configuration store (by default at Mail Enable\Config) contains details on domains, mailboxes, and other items. If you have changed any data store locations from the default with your installation then you will need to ensure these are included in your backup.  If you are unsure of your storage location then you can find out the paths in the following section of the MailEnable Administration Program:

MailEnable Administrator Program (MMC)->Messaging Manager (Properties)

The Configuration directory is critical as this contains all the mailbox, domain and post office lookup data for each container in your system, if this is lost then you cannot recover from a data loss.

MailEnable Enterprise and Enterprise Premium allow you to store configuration information in either MySQL or Microsoft SQL Server. If you have configured this, use the recommended backup procedures for the database software. You will still need to backup the Config directory.

Please rate this article to help us improve our Knowledge Base.

0 0