Difference between revisions of "Moving the Archive"

[unchecked revision][unchecked revision]
Line 4: Line 4:
  
 
To move the MailStore Server archive to a new location, proceed with these steps:
 
To move the MailStore Server archive to a new location, proceed with these steps:
* Stop the MailStore Server service, either through the MailStore Base Configuration or the service control panel or by executing the command 'net stop "MailStore Server"' from the command-line.
+
* 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.
 
* Copy the archive directory (default: C:\MailArchive) and all subdirectories to the new location. Directory structure must be preserved.
* Run the MailStore Server Base Configuration utility and change the directory of the "Master Database" to the new location.
+
* 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 Base Configuration or the service control panel or by executing the command 'net start "MailStore Server"' from the command-line.
+
* 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.
  
 
'''Notice:''' Please be aware, that the throughput of the external hard-disk may have a negative impact on the performance of MailStore Server.
 
'''Notice:''' Please be aware, that the throughput of the external hard-disk may have a negative impact on the performance of MailStore Server.
Line 15: Line 15:
 
To move the MailStore Server archive to a new machine including all users, settings and emails follow these steps:
 
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 Base Configuration or the service control panel or by executing the command 'net stop "MailStore Server"' from the command-line.
+
* 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 file-groups that exist on the current machine to the new machine. Directory structure should be preserved.
 
* Copy the directory "MailArchive" and all file-groups 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.
 
* Uninstall MailStore Server on the current machine. Use ''Add/Remove Programs'' available in the control panel.
Line 29: Line 29:
 
The descriptions from the article [[Using Network Attached Storage (NAS)]] are analogical. The following steps are required to move the archive:
 
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 Base Configuration or the service control panel or by executing the command 'net stop "MailStore Server"' from the command-line.
+
* 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 backup of your MailStore Server archive.
 
* Create a new share on the NAS-system.
 
* Create a new share on the NAS-system.
Line 35: Line 35:
 
* If you granted the permissions to a user object, make sure the MailStore Server Service is executed under the scope of that user object.
 
* If you granted the permissions to a user object, make sure the MailStore Server Service is executed under the scope of that user object.
 
* Move all files from the original archive folder to the share.
 
* Move all files from the original archive folder to the share.
* Open the MailStore Server Base Configuration and set the path to the MailStore Server Master-Database to the UNC path of the share e.g. ''\\computer\myshare\..''.
+
* 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. ''\\computer\myshare\..''.
* Start the MailStore Server service again, either through the MailStore Base Configuration or the service control panel or by executing the command 'net start "MailStore Server"' from the command-line.
+
* 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.
  
  
 
[[de:Umziehen_des_Archivs]]
 
[[de:Umziehen_des_Archivs]]

Revision as of 06:40, 7 June 2011

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.

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

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 file-groups 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. Choose "Existing Archive" and select the path to the directory where you copied your archive to.
  • 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 or install the license file you received after purchasing MailStore Server.
  • Now set up the scheduled tasks again.

Moving the Archive onto a NAS-share

When moving an already running Installation, only the databases and container files 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 with administrative privileges on the MailStore Server machine read-/write-permissions on that newly created share.
  • If you granted the permissions to a user object, make sure the MailStore Server Service is executed under the scope of that user object.
  • 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. \\computer\myshare\...
  • 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.