Moving the Archive

It is possible to move an existing MailStore Server archive to a new hard-disk, machine or network-share at any time. What is required to successfully move an archive is described in the following sections.

Moving the Archive to an External Hard-Disk

To move the MailStore Server archive to a new location, proceed with these steps:

  • Stop the MailStore Server service, either through the MailStore Server Service Configuration or the service control panel or by executing the command ’net stop "MailStore Server"’ from the command-line.
  • Copy the archive directory (default: C:MailArchive) and all subdirectories to the new location. Directory structure must be preserved.
  • Run the MailStore Server Service Configuration utility and change the directory of the "Master Database" to the new location.
  • Start the MailStore Server service again, either through the MailStore Server Service Configuration or the service control panel or by executing the command ’net start "MailStore Server"’ from the command-line.
Information Title

Please be aware, that the throughput of the external hard-disk may have a negative impact on the performance of MailStore Server.

Archive stores that are not stored in a relative path to the master database are to be re-attached or modified after moving the archive. Details about managing archive stores are available in chapter Storage Locations of the MailStore Server manual.

Moving the Archive to a New Machine

To move the MailStore Server archive to a new machine including all users, settings and emails follow these steps:

  • Stop the MailStore Server service on the current machine, either trough the MailStore Server Service Configuration or the service control panel or by executing the command ’net stop "MailStore Server"’ from the command-line.
  • Copy the directory "MailArchive" and all archive stores that exist on the current machine to the new machine. Directory structure should be preserved.
  • Uninstall MailStore Server on the current machine. Use Add/Remove Programs available in the control panel.
  • Install MailStore Server on the new machine. Run the MailStore Server Service Configuration utility, stop the MailStore Server service and change the directory of the "Master Database" to the new location if it differs from the default path (C:MailArchive).
  • If you have any client-sided scheduled tasks, export the SSL certificate and private key (usually packaged in a PKCS#12 file) with the common name "MailStore Server" from the machines certificate store and import it to the same location on the new machine.
  • Start Mailstore Server and activate the installation by entering the 25-digit activation key when logging in as admin users with MailStore Client for the first time.
  • Now set up the scheduled tasks again.

Archive stores that are not stored in a relative path to the master database are to be re-attached or modified after moving the archive. Details about managing archive stores are available in chapter Storage Locations of the MailStore Server manual.

Moving the Archive onto a NAS-share

When moving an already running Installation, only the archive stores are moved onto the NAS-share. The MailStore Server program itself remains at its original location.

The descriptions from the article Using Network Attached Storage (NAS) are analogical. The following steps are required to move the archive:

  • Stop the MailStore Server service on the current machine, either trough the MailStore Server Service Configuration or the service control panel or by executing the command ’net stop "MailStore Server"’ from the command-line.
  • Create a backup of your MailStore Server archive.
  • Create a new share on the NAS-system.
  • Either grant the MailStore Server machine account or a user read-/write-permissions on that newly created share.
  • If you granted the permissions to a user object, make sure you create an appropriate start-up script as described in Using Network Attached Storage (NAS).
  • Move all files from the original archive folder to the share.
  • Open the MailStore Server Service Configuration and set the path to the MailStore Server Master-Database to the UNC path of the share e.g. computermyshare...
  • Start the MailStore Server service again, either through the MailStore Server Service Configuration or the service control panel or by executing the command ’net start "MailStore Server"’ from the command-line.

Archive stores that are not stored in a relative path to the master database are to be re-attached or modified after moving the archive. Details about managing archive stores are available in chapter Storage Locations of the MailStore Server manual.

 

Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Batch-archiving IMAP Mailboxes
Viewed 2852 times since Fri, Jan 10, 2014
Archiving IMAP and POP3 Multidrop Mailboxes
Viewed 4026 times since Sun, Jan 26, 2014
Monitoring
Viewed 4963 times since Fri, Jan 10, 2014
Generic LDAP Integration
Viewed 2447 times since Fri, Jan 10, 2014
MailStore Outlook Add-in Deployment
Viewed 27339 times since Fri, Jan 10, 2014
Bulk Import of Email Files
Viewed 3667 times since Mon, Jan 6, 2014
Archiving Email from Outlook, Thunderbird and others
Viewed 3115 times since Tue, Jan 14, 2014
Using a NAS
Viewed 2659 times since Tue, Dec 17, 2013
Using Advanced Archive Stores
Viewed 13391 times since Tue, Dec 31, 2013
MailStore Server Administration API Commands
Viewed 29458 times since Wed, Jan 1, 2014
MENU