Difference between revisions of "Backup and Restore with Carbonite Server Backup"

Jump to: navigation, search
[unchecked revision][unchecked revision]
Line 1: Line 1:
  
 +
== Preparing Pre- and Post-Backup Scripts ==
 +
As Carbonite Server Backup has no support for MailStore's VSS writer yet, the MailStore Server service must be stopped before and started again after the backup is actually carried out, in order to ensure data consistency.
  
* Start Carbonite Server Backup on the MailStore Server computer
+
For that purpose, two Windows batch scripts must be created in a location that is accessible by Carbonite Server Backup such as <tt>C:\MailArchive</tt>.
* Click on ''New Backup Set''
+
 
* Click on ''File System''
+
'''startMailStoreServer.bat'''
 +
<source lang="text" smart-tabs="true" toolbar="false" gutter="false">
 +
@echo off
 +
 
 +
net start MailStoreServer
 +
</source>
 +
 
 +
 
 +
'''stopMailStoreServer.bat'''
 +
<source lang="text" smart-tabs="true" toolbar="false" gutter="false">
 +
@echo off
 +
 
 +
net stop MailStoreServer
 +
</source>
 +
 
 +
 
 +
It is highly recommended to test both scripts before continuing with the next step.
 +
 
 +
== Creating a New Backup Set in Carbonite Server Backup ==
 +
After the pre- and post-backup scripts have been successfully tested, a new backup set for MailStore Server can be created. Please proceed as follows:
 +
 
 +
* Start Carbonite Server Backup on the MailStore Server computer.
 +
* Click on ''New Backup Set''.
 +
* Click on ''File System''.
 
* Select the folders that contain your archive data.  
 
* Select the folders that contain your archive data.  
*:[[File:Bakcup_CSB01.png|200px|center]]
+
*: [[File:Bakcup_CSB01.png|200px|center]]
*:By default MailStore Server stores all data in ''C:\MailArchive''. A list of all directories in use can be gathered through [[Storage Locations]].
+
*: The default directory of a MailStore Server archive is ''C:\MailArchive''. If other locations are used (e.g. additional archive stores or network attached storage), make sure to select all of these in Carbonite Server Backup. A full list of directories used by MailStore Server for the Master Database and the Archive Stores can be pulled from [[Storage Locations]].
 +
* Click on ''Edit'' in the ''Advanced backup settings'' section.
 +
*: [[File:Bakcup_CSB02.png|550px|center]]
 +
*: At ''Custom Scripts'' enter the path to the <tt>stopMailStoreServer.bat</tt> script in ''Run Before Backup'' and the path to the <tt>startMailStoreServer.bat</tt> script in ''Run After Backup''.
 +
* Proceed with the backup set creation by specifying your backup location, creating a backup schedule and adjust the retention settings as well as advanced backup settings and the email notification preferences.
 +
* Finally enter a name for the new backup set, i.e. ''MailStore Server Backup''.
 +
* Click ''Save'' to create the new backup set.

Revision as of 17:42, 10 February 2015

Preparing Pre- and Post-Backup Scripts

As Carbonite Server Backup has no support for MailStore's VSS writer yet, the MailStore Server service must be stopped before and started again after the backup is actually carried out, in order to ensure data consistency.

For that purpose, two Windows batch scripts must be created in a location that is accessible by Carbonite Server Backup such as C:\MailArchive.

startMailStoreServer.bat

@echo off

net start MailStoreServer


stopMailStoreServer.bat

@echo off

net stop MailStoreServer


It is highly recommended to test both scripts before continuing with the next step.

Creating a New Backup Set in Carbonite Server Backup

After the pre- and post-backup scripts have been successfully tested, a new backup set for MailStore Server can be created. Please proceed as follows:

  • Start Carbonite Server Backup on the MailStore Server computer.
  • Click on New Backup Set.
  • Click on File System.
  • Select the folders that contain your archive data.
    Bakcup CSB01.png
    The default directory of a MailStore Server archive is C:\MailArchive. If other locations are used (e.g. additional archive stores or network attached storage), make sure to select all of these in Carbonite Server Backup. A full list of directories used by MailStore Server for the Master Database and the Archive Stores can be pulled from Storage Locations.
  • Click on Edit in the Advanced backup settings section.
    Bakcup CSB02.png
    At Custom Scripts enter the path to the stopMailStoreServer.bat script in Run Before Backup and the path to the startMailStoreServer.bat script in Run After Backup.
  • Proceed with the backup set creation by specifying your backup location, creating a backup schedule and adjust the retention settings as well as advanced backup settings and the email notification preferences.
  • Finally enter a name for the new backup set, i.e. MailStore Server Backup.
  • Click Save to create the new backup set.
Navigation
Tools
Print/export
About MailStore

  • MailStore Server is one of the leading email archiving solutions for SMB.
  • For private use there is a free tool for email archiving furthermore: MailStore Home.