Difference between revisions of "Maintenance and Repair"

[unchecked revision][unchecked revision]
m (Changed first heading.)
Line 5: Line 5:
 
'''Please note:''' The commands described below can be entered and executed by a MailStore administrator through the Management Shell.
 
'''Please note:''' The commands described below can be entered and executed by a MailStore administrator through the Management Shell.
  
== Logical Verification ==
+
= Logical Verification =
  
 
Logical verification is used to determine if all emails located in MailStore are still complete and in their original state. For example, if a content file (.dat) was modified by hand, this will be censured by logical verification. Replace the number 1 with the actual number of the file group to be verified:
 
Logical verification is used to determine if all emails located in MailStore are still complete and in their original state. For example, if a content file (.dat) was modified by hand, this will be censured by logical verification. Replace the number 1 with the actual number of the file group to be verified:
Line 11: Line 11:
 
   filegroup-verify --gid=1
 
   filegroup-verify --gid=1
  
== Databases ==
+
= Databases =
  
 
Simple sweep of the master database (no data is deleted):
 
Simple sweep of the master database (no data is deleted):
Line 29: Line 29:
 
   maintain-db --command=backup-restore --gid=1
 
   maintain-db --command=backup-restore --gid=1
  
== Indexes ==
+
= Indexes =
  
 
Generally, it is an indication that an index is defective if emails cannot be located through the tree structure or by executing a search. A defective index is not critical - it can be completely rebuilt at any time and without any loss of data. To rebuild an index, please proceed as follows:
 
Generally, it is an indication that an index is defective if emails cannot be located through the tree structure or by executing a search. A defective index is not critical - it can be completely rebuilt at any time and without any loss of data. To rebuild an index, please proceed as follows:

Revision as of 07:42, 16 June 2010

MailStore products are developed so that they work correctly without requiring any maintenance.

Occasionally, however, errors do occur due to system crashes or accidental manipulation of the file structure, for example. This section will provide the information necessary to perform certain maintenance and repair works without having to contact MailStore Support (if, because of such an error, some contents of the archive become inaccessible, for example).

Please note: The commands described below can be entered and executed by a MailStore administrator through the Management Shell.

Logical Verification

Logical verification is used to determine if all emails located in MailStore are still complete and in their original state. For example, if a content file (.dat) was modified by hand, this will be censured by logical verification. Replace the number 1 with the actual number of the file group to be verified:

 filegroup-verify --gid=1

Databases

Simple sweep of the master database (no data is deleted):

 maintain-db --command=sweep

Complete rebuilding of the master database (e.g. if structural problems arise):

 maintain-db --command=backup-restore

Simple sweep of a file group database (no data is deleted). Replace the number 1 with the number of the file group:

 maintain-db --command=sweep --gid=1

Complete rebuilding of a file group database (e.g. if structural problems arise):

 maintain-db --command=backup-restore --gid=1

Indexes

Generally, it is an indication that an index is defective if emails cannot be located through the tree structure or by executing a search. A defective index is not critical - it can be completely rebuilt at any time and without any loss of data. To rebuild an index, please proceed as follows:

  • Using MailStore Client, log on to MailStore Server as administrator.
  • Click on Administrative Tools and select Index Options.
  • Select the file group and the user index and click on Rebuild Now.
  • Repeat this process for all affected file groups and user indexes.