<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>mailstore-notes.dwlab.me - MailStoreServer</title>
    <link rel="self" type="application/atom+xml" href="https://mailstore-notes.dwlab.me/products/mailstoreserver/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2025-03-05T00:00:00+00:00</updated>
    <id>https://mailstore-notes.dwlab.me/products/mailstoreserver/atom.xml</id>
    <entry xml:lang="en">
        <title>Exporting and Re-Archiving E-Mail to a different MailStore environment</title>
        <published>2025-03-05T00:00:00+00:00</published>
        <updated>2025-03-05T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              dave
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/articles/exporting-and-rearchiving/"/>
        <id>https://mailstore-notes.dwlab.me/articles/exporting-and-rearchiving/</id>
        
        <content type="html" xml:base="https://mailstore-notes.dwlab.me/articles/exporting-and-rearchiving/">&lt;p&gt;This article covers how to export messages from one MailStore environment, and how to then import them into another.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;better-options&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#better-options&quot; aria-label=&quot;Anchor link for: better-options&quot;&gt;🔗&lt;&#x2F;a&gt;Better Options&lt;&#x2F;h2&gt;
&lt;p&gt;This process is not necessary if you are moving an entire MailStore system to another machine, or want to merge to MailStore environments together, please see the following articles for more information:&lt;&#x2F;p&gt;
&lt;h3 id=&quot;mailstore-server&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#mailstore-server&quot; aria-label=&quot;Anchor link for: mailstore-server&quot;&gt;🔗&lt;&#x2F;a&gt;MailStore Server&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class=&quot;&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;help.mailstore.com&#x2F;en&#x2F;server&#x2F;Moving_the_Archive#Moving_the_Archive_to_a_New_Machine&quot;&gt;Moving the Archive to a New Machine&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a class=&quot;&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;help.mailstore.com&#x2F;en&#x2F;server&#x2F;Moving_the_Archive#Moving_an_Archive_Store_to_a_Different_Installation&quot;&gt;Moving an Archive Store to a Different Installation&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;mailstore-spe&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#mailstore-spe&quot; aria-label=&quot;Anchor link for: mailstore-spe&quot;&gt;🔗&lt;&#x2F;a&gt;MailStore SPE&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class=&quot;&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;help.mailstore.com&#x2F;en&#x2F;spe&#x2F;Moving_Roles&quot;&gt;Moving Roles&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a class=&quot;&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;help.mailstore.com&#x2F;en&#x2F;spe&#x2F;Moving_Instances&quot;&gt;Moving Instances&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;li&gt;&lt;a class=&quot;&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;help.mailstore.com&#x2F;en&#x2F;spe&#x2F;MailStore_Server_to_MailStore_SPE_Migration&quot;&gt;MailStore Server to MailStore SPE Migration&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;exporting-and-re-archiving&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#exporting-and-re-archiving&quot; aria-label=&quot;Anchor link for: exporting-and-re-archiving&quot;&gt;🔗&lt;&#x2F;a&gt;Exporting and Re-Archiving&lt;&#x2F;h2&gt;
&lt;p&gt;In case you do need to do some sort of &quot;export-and-rearchive&quot;&lt;&#x2F;p&gt;
&lt;h3 id=&quot;source-server&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#source-server&quot; aria-label=&quot;Anchor link for: source-server&quot;&gt;🔗&lt;&#x2F;a&gt;Source Server&lt;&#x2F;h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Log in to MailStore using the &lt;code&gt;admin&lt;&#x2F;code&gt; account, or another account with appropriate permissions.&lt;br &#x2F;&gt;
&lt;br &#x2F;&gt;
&lt;em&gt;MailStore SPE Note:&lt;&#x2F;em&gt; You must log in using the method described in &lt;a class=&quot;&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;help.mailstore.com&#x2F;en&#x2F;spe&#x2F;End_User_Access&quot;&gt;End User Access&lt;&#x2F;a&gt;, the &lt;a class=&quot;&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;help.mailstore.com&#x2F;en&#x2F;spe&#x2F;Accessing_Instances#Using_Service_Provider_Archive_Access&quot;&gt;Using Service Provider Archive Access&lt;&#x2F;a&gt; method uses the &lt;code&gt;$archiveadmin&lt;&#x2F;code&gt; account which does not have the necessary permissions.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Unblock admin access to the archive.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;ul&gt;
&lt;li&gt;Navigate to &lt;code&gt;Admin Tools&lt;&#x2F;code&gt; &amp;gt; &lt;code&gt;Compliance&lt;&#x2F;code&gt; &amp;gt; &lt;code&gt;Compliance General&lt;&#x2F;code&gt;.&lt;&#x2F;li&gt;
&lt;li&gt;Click &lt;code&gt;Unblock Access&lt;&#x2F;code&gt;.&lt;&#x2F;li&gt;
&lt;li&gt;Confirm with the current user&#x27;s password.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;ol start=&quot;3&quot;&gt;
&lt;li&gt;Create an &lt;em&gt;Export E-mail&lt;&#x2F;em&gt; profile.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;ul&gt;
&lt;li&gt;Navigate to &lt;code&gt;Export E-mail&lt;&#x2F;code&gt;&lt;&#x2F;li&gt;
&lt;li&gt;Create a new profile:
&lt;ul&gt;
&lt;li&gt;Directory (File System).&lt;&#x2F;li&gt;
&lt;li&gt;Select &lt;code&gt;EML&lt;&#x2F;code&gt; files.&lt;&#x2F;li&gt;
&lt;li&gt;Optionally enable the option to &lt;em&gt;Sign export&lt;&#x2F;em&gt;, but see the note below first.&lt;&#x2F;li&gt;
&lt;li&gt;Select an appropriate directory, e.g., &lt;code&gt;C:\EML&lt;&#x2F;code&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;p&gt;Note that if you use the &lt;em&gt;Sign export&lt;&#x2F;em&gt; option, you cannot archive into the same directory again, you must use a different directory for subsequent archiving processes.&lt;&#x2F;p&gt;
&lt;h3 id=&quot;target-server&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#target-server&quot; aria-label=&quot;Anchor link for: target-server&quot;&gt;🔗&lt;&#x2F;a&gt;Target Server&lt;&#x2F;h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Log in to MailStore using the &lt;code&gt;admin&lt;&#x2F;code&gt; account, or another account with appropriate permissions.&lt;br &#x2F;&gt;
&lt;br &#x2F;&gt;
&lt;em&gt;MailStore SPE&lt;&#x2F;em&gt; Either &lt;a class=&quot;&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;help.mailstore.com&#x2F;en&#x2F;spe&#x2F;End_User_Access&quot;&gt;End User Access&lt;&#x2F;a&gt; or the &lt;code&gt;$archiveadmin&lt;&#x2F;code&gt; account is fine.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Create an &lt;em&gt;Archive E-mail&lt;&#x2F;em&gt; profile.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;ul&gt;
&lt;li&gt;Navigate to &lt;em&gt;Archive E-mail&lt;&#x2F;em&gt;.
&lt;ul&gt;
&lt;li&gt;Create a new profile: &lt;em&gt;E-mail Files&lt;&#x2F;em&gt;&lt;&#x2F;li&gt;
&lt;li&gt;Select the &lt;em&gt;EML and MSG files&lt;&#x2F;em&gt; option.&lt;&#x2F;li&gt;
&lt;li&gt;Select &lt;em&gt;MailStore Export&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;li&gt;End the directory containing the EML files, e.g., &lt;code&gt;C:\EML&lt;&#x2F;code&gt;.&lt;&#x2F;li&gt;
&lt;li&gt;Ensure that &lt;em&gt;Read MailStore Headers&lt;&#x2F;em&gt; is enabled.&lt;&#x2F;li&gt;
&lt;li&gt;If you exported with a signature, enable &lt;em&gt;Verify Signature&lt;&#x2F;em&gt; if desired.&lt;&#x2F;li&gt;
&lt;li&gt;Click Next.
&lt;ul&gt;
&lt;li&gt;Leave the &lt;em&gt;Folders&lt;&#x2F;em&gt; and &lt;em&gt;Filter&lt;&#x2F;em&gt; options as default.&lt;&#x2F;li&gt;
&lt;li&gt;Optionally enable &lt;em&gt;Delete&lt;&#x2F;em&gt; if desired.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;Click Next.
&lt;ul&gt;
&lt;li&gt;Leave the &lt;em&gt;Target Archive&lt;&#x2F;em&gt; pointing to the &lt;code&gt;admin&lt;&#x2F;code&gt; archive.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;Click &lt;em&gt;Next&lt;&#x2F;em&gt; &amp;gt; &lt;em&gt;Finish&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;p&gt;When exporting, you can set the scope to any archive, folder or subfolder. You can also select any searches saved as a search folder.&lt;&#x2F;p&gt;
&lt;p&gt;Optional: To create a search folder:&lt;&#x2F;p&gt;
&lt;ul&gt;
&lt;li&gt;Navigate to &lt;em&gt;Search E-mail&lt;&#x2F;em&gt; (not the quick search in the top-left).&lt;&#x2F;li&gt;
&lt;li&gt;Click &lt;em&gt;New&lt;&#x2F;em&gt; to clear existing search criteria.&lt;&#x2F;li&gt;
&lt;li&gt;Enter appropriate search criteria, optionally review the results.&lt;&#x2F;li&gt;
&lt;li&gt;Create a saved search folder using the appropriate button.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h2 id=&quot;notes&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#notes&quot; aria-label=&quot;Anchor link for: notes&quot;&gt;🔗&lt;&#x2F;a&gt;Notes&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The target server will ignore duplicated messages, so you can re-archive the same &lt;code&gt;.EML&lt;&#x2F;code&gt;. messages multiple times without issue.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;You do not need to be on either MailStore Server to perform either the Export, nor the Archive stage. This means you do not need to figure out how to manually move the &lt;code&gt;.EML&lt;&#x2F;code&gt; between systems.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;.EML&lt;&#x2F;code&gt; files are written by MailStore Client itself, from the context of your own user, on your workstation. If you export to &lt;code&gt;C:\EML&lt;&#x2F;code&gt;, the files are written to, and read from, your drive.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;You can launch more than one instance of &lt;em&gt;MailStore Client&lt;&#x2F;em&gt;, allowing you to both export and archive at the same time.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;The process is quite flexible and tolerant of mistakes. You can re-do the export if anything goes wrong, and you can re-do the re-archiving as well. As long as you have the &lt;em&gt;MailStore Export&lt;&#x2F;em&gt; option enabled, the metadata will be consistent, and you won&#x27;t get duplicates.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;You can export to&#x2F;from any combination of MailStore Home, MailStore Server and MailStore SPE, the process is nearly identical.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;If you are not using the &lt;em&gt;Sign export&lt;&#x2F;em&gt; option, you can re-archive into the same directory, and the option to update the export will skip the messages already in the target directory, avoiding duplicates on disk and allowing you to combine multiple exports into a single directory.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Messages are re-archived into the same folder structure as they originated from, including the user&#x2F;archive name and subfolders. This overrides the &lt;em&gt;Target Archive&lt;&#x2F;em&gt; option.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Further information about the &lt;em&gt;Sign export&lt;&#x2F;em&gt; option can be found in the &lt;a class=&quot;&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;help.mailstore.com&#x2F;en&#x2F;server&#x2F;Verifying_a_Signed_Export&quot;&gt;Verifying a Signed Export&lt;&#x2F;a&gt; article.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;h3 id=&quot;mailstore-home&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#mailstore-home&quot; aria-label=&quot;Anchor link for: mailstore-home&quot;&gt;🔗&lt;&#x2F;a&gt;MailStore Home&lt;&#x2F;h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If the &lt;code&gt;.EML&lt;&#x2F;code&gt; export originated from &lt;em&gt;MailStore Home&lt;&#x2F;em&gt; then the &lt;em&gt;Target Archive&lt;&#x2F;em&gt; is used. This applies when archiving into either &lt;em&gt;MailStore Server&lt;&#x2F;em&gt; and &lt;em&gt;MailStore SPE&lt;&#x2F;em&gt;&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;If you are archiving into &lt;em&gt;MailStore Home&lt;&#x2F;em&gt; there are no users, therefore you will not be asked to select a target archive and the export will be placed into the &lt;em&gt;My Archive&lt;&#x2F;em&gt; folder structure.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Grant a user read access to all archives via the audit user function</title>
        <published>2024-08-21T00:00:00+00:00</published>
        <updated>2024-08-21T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              dave
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/articles/grant-a-user-access-to-read-all-archives/"/>
        <id>https://mailstore-notes.dwlab.me/articles/grant-a-user-access-to-read-all-archives/</id>
        
        <summary type="html">&lt;p&gt;MailStore allows the &lt;em&gt;admin&lt;&#x2F;em&gt; user to unblock their access to the archive, granting them access to all archives, if admin access to the archive is unblocked.&lt;&#x2F;p&gt;
&lt;p&gt;It may be useful to grant only &lt;em&gt;Read&lt;&#x2F;em&gt; access to all archives without granting full admin permissions.&lt;&#x2F;p&gt;</summary>
        
    </entry>
    <entry xml:lang="en">
        <title>Recreate Recovery Records from FDB file</title>
        <published>2024-08-08T00:00:00+00:00</published>
        <updated>2024-08-08T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              dave
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/articles/recreate-recovery-records-from-fdb-file/"/>
        <id>https://mailstore-notes.dwlab.me/articles/recreate-recovery-records-from-fdb-file/</id>
        
        <summary type="html">&lt;p&gt;Recovery records can be recreated from the &lt;code&gt;MailStoreFileGroup.fdb&lt;&#x2F;code&gt; file using the &lt;code&gt;RecreateRecoveryRecords&lt;&#x2F;code&gt; command.&lt;&#x2F;p&gt;</summary>
        
    </entry>
    <entry xml:lang="en">
        <title>Recreate FDB file from Recovery Records</title>
        <published>2024-08-07T00:00:00+00:00</published>
        <updated>2024-08-07T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              dave
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/articles/recreate-fdb-file-from-recovery-records/"/>
        <id>https://mailstore-notes.dwlab.me/articles/recreate-fdb-file-from-recovery-records/</id>
        
        <summary type="html">&lt;p&gt;&lt;code&gt;MailStoreFileGroup.fdb&lt;&#x2F;code&gt; can be rebuilt in-place from the recovery records.&lt;&#x2F;p&gt;</summary>
        
    </entry>
    <entry xml:lang="en">
        <title>EML Export from Storage Location in MailStore &lt;11</title>
        <published>2024-08-02T00:00:00+00:00</published>
        <updated>2024-08-02T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              dave
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/articles/eml-export-from-mailstore-pre-11/"/>
        <id>https://mailstore-notes.dwlab.me/articles/eml-export-from-mailstore-pre-11/</id>
        
        <content type="html" xml:base="https://mailstore-notes.dwlab.me/articles/eml-export-from-mailstore-pre-11/">&lt;p&gt;Storage Locations created in MailStore 10 or earlier can be exported to &lt;em&gt;EML&lt;&#x2F;em&gt; files using the internal metadata. This is useful if the database is corrupt and cannot be repaired, as the &lt;em&gt;EML&lt;&#x2F;em&gt; files can be used to re-archive the messages into a new storage location.&lt;&#x2F;p&gt;
&lt;p&gt;&lt;strong&gt;This article applies to MailStore 10 and earlier &lt;em&gt;only&lt;&#x2F;em&gt;, as of MailStore 11 an entirely different process is used for recovering from a damaged FDB database.&lt;&#x2F;strong&gt;&lt;&#x2F;p&gt;
&lt;p&gt;&lt;a class=&quot;&quot; rel=&quot;noopener noreferrer&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.mailstore.com&#x2F;en&#x2F;products&#x2F;mailstore-server&#x2F;changelog&#x2F;#mailstore-server-11-0&quot;&gt;MailStore 11&lt;&#x2F;a&gt; introduced new recovery records, this article only applies to Storage Locations created with MailStore 10 or earlier, that have not been upgraded to MailStore 11 or later.&lt;&#x2F;p&gt;
&lt;p&gt;If you have a damaged MailStore Storage Location&#x27;s FDB file (&lt;em&gt;prior to MailStore 11&lt;&#x2F;em&gt;), it is often possible to recover and export the messages from the database using the internal recovery records.&lt;&#x2F;p&gt;
&lt;p&gt;For the purposes of this article, we will assume the following paths:&lt;&#x2F;p&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;description&lt;&#x2F;th&gt;&lt;th&gt;example path&lt;&#x2F;th&gt;&lt;&#x2F;tr&gt;&lt;&#x2F;thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Damaged Storage Location&lt;&#x2F;td&gt;&lt;td&gt;&lt;code&gt;C:\MailArchive\2018-03&lt;&#x2F;code&gt;&lt;&#x2F;td&gt;&lt;&#x2F;tr&gt;
&lt;tr&gt;&lt;td&gt;EML export destination&lt;&#x2F;td&gt;&lt;td&gt;&lt;code&gt;D:\EML&lt;&#x2F;code&gt;&lt;&#x2F;td&gt;&lt;&#x2F;tr&gt;
&lt;&#x2F;tbody&gt;&lt;&#x2F;table&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Prepare the environment:&lt;&#x2F;p&gt;
&lt;ol&gt;
&lt;li&gt;Avoid using network drives for storing files.&lt;&#x2F;li&gt;
&lt;li&gt;Use locally mounted drives (ideally SAS, NVMe, SATA, or iSCSI). Avoid external storage such as USB drives and network paths.&lt;&#x2F;li&gt;
&lt;li&gt;For performance reasons, consider placing the Storage Location and EML export destination on separate physical drives.&lt;&#x2F;li&gt;
&lt;li&gt;Ensure you have ample free space. It&#x27;s recommended to have at least double the size of the corrupted storage location available, but more may be needed in certain cases.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Prepare MailStore Server:&lt;&#x2F;p&gt;
&lt;ol&gt;
&lt;li&gt;If you have any &lt;em&gt;Archive E-mail&lt;&#x2F;em&gt; profiles configured to run automatically they may re-archive messages from the original source, so it is recommended to disable all archiving profiles during this process.&lt;&#x2F;li&gt;
&lt;li&gt;Shut down MailStore Server completely or detach the problematic storage location to ensure it&#x27;s not in a failed state.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Run the Recovery Command:&lt;&#x2F;p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Launch a Windows command prompt, enter the following command, substituting paths as necessary:&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;cmd.exe&quot; class=&quot;language-cmd.exe &quot;&gt;&lt;code class=&quot;language-cmd.exe&quot; data-lang=&quot;cmd.exe&quot;&gt;&amp;quot;C:\Program Files (x86)\deepinvent\MailStore Server\MailStoreServer_x64.exe&amp;quot; --recover --inputDir=&amp;quot;C:\MailArchive\2018-03&amp;quot; --outputDir=&amp;quot;D:\EML&amp;quot;
&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Wait for MailStore to process all &lt;em&gt;DAT&lt;&#x2F;em&gt; files, extracting each to &lt;em&gt;EML&lt;&#x2F;em&gt; files.&lt;&#x2F;p&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Re-Archiving Process:&lt;&#x2F;p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;em&gt;(Optional)&lt;&#x2F;em&gt; Create a new Storage Location (&lt;em&gt;MailStore Client&lt;&#x2F;em&gt; &amp;gt; &lt;em&gt;Administrative Tools&lt;&#x2F;em&gt; &amp;gt; &lt;em&gt;Storage&lt;&#x2F;em&gt; &amp;gt; &lt;em&gt;Storage Locations&lt;&#x2F;em&gt; &amp;gt; &lt;em&gt;Create Storage Location&lt;&#x2F;em&gt;).&lt;&#x2F;li&gt;
&lt;li&gt;Go to &lt;em&gt;Archive E-mail&lt;&#x2F;em&gt; &amp;gt; Create a new profile, select &lt;em&gt;EML and MSG Files&lt;&#x2F;em&gt; (or &lt;em&gt;Directory (File System)&lt;&#x2F;em&gt;) files as the source.&lt;&#x2F;li&gt;
&lt;li&gt;Choose the &lt;em&gt;MailStore Export&lt;&#x2F;em&gt; option to re-archive the messages back to their correct location.&lt;&#x2F;li&gt;
&lt;li&gt;Ensure the corrupted storage location is not attached during this process otherwise messages may be skipped.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;
&lt;p&gt;Post-Recovery Cleanup:&lt;&#x2F;p&gt;
&lt;ol&gt;
&lt;li&gt;Once you verify the results, delete the corrupt storage location and the EML export destination. directory.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;p&gt;The extracted &lt;em&gt;EML&lt;&#x2F;em&gt; files can be used with email software that supports EML format, or MailStore itself.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;encryption-keys&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#encryption-keys&quot; aria-label=&quot;Anchor link for: encryption-keys&quot;&gt;🔗&lt;&#x2F;a&gt;Encryption Keys&lt;&#x2F;h2&gt;
&lt;p&gt;MailStore will attempt to read the keys from the &lt;em&gt;FDB&lt;&#x2F;em&gt; database files on disk if not specified, but if the database is corrupt it may not be possible to retrieve the keys automatically.&lt;&#x2F;p&gt;
&lt;p&gt;You can add the &lt;code&gt;--securityKey&lt;&#x2F;code&gt; and&#x2F;or  &lt;code&gt;--masterKey&lt;&#x2F;code&gt; parameters to the command line to specify the security and master keys as needed. Please contact support if you need assistance retrieving the keys as this process varies depending on the version of MailStore (and may not be possible in all cases).&lt;&#x2F;p&gt;
&lt;pre data-lang=&quot;cmd.exe&quot; class=&quot;language-cmd.exe &quot;&gt;&lt;code class=&quot;language-cmd.exe&quot; data-lang=&quot;cmd.exe&quot;&gt;MailStoreServer.exe --recover
     --inputDir=&amp;quot;C:\FileGroup1&amp;quot;
     --outputDir=&amp;quot;D:\EML&amp;quot;
    [--securityKey=&amp;quot;...&amp;quot;]
    [--masterKey=&amp;quot;...&amp;quot;]
&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;h2 id=&quot;notes&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#notes&quot; aria-label=&quot;Anchor link for: notes&quot;&gt;🔗&lt;&#x2F;a&gt;Notes&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;EML&lt;&#x2F;em&gt; files are created with &lt;code&gt;X-MailStore-*&lt;&#x2F;code&gt; headers that contain metadata to allow for re-archiving or other analysis.&lt;&#x2F;li&gt;
&lt;li&gt;&lt;em&gt;EML&lt;&#x2F;em&gt; files can be:
&lt;ul&gt;
&lt;li&gt;Re-archived into the correct location in MailStore.&lt;&#x2F;li&gt;
&lt;li&gt;Opened and accessed by any email software that supports &lt;em&gt;EML&lt;&#x2F;em&gt; files, like Thunderbird.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;&lt;em&gt;DAT&lt;&#x2F;em&gt; files contain fragments from various messages.&lt;&#x2F;li&gt;
&lt;li&gt;Messages in &lt;em&gt;DAT&lt;&#x2F;em&gt; files are not always in sequential order.&lt;&#x2F;li&gt;
&lt;li&gt;You may attempt to perform an export on an incomplete set of &lt;em&gt;DAT&lt;&#x2F;em&gt; files, only valid messages will be exported.&lt;&#x2F;li&gt;
&lt;li&gt;You may restore or replace &lt;em&gt;DAT&lt;&#x2F;em&gt; files and then export again to fill in missing messages if further &lt;em&gt;DAT&lt;&#x2F;em&gt; files are available.&lt;&#x2F;li&gt;
&lt;li&gt;Exporting again will create duplicate &lt;em&gt;EML&lt;&#x2F;em&gt; files, but these will be skipped by MailStore when re-archiving.&lt;&#x2F;li&gt;
&lt;li&gt;Special Case:
&lt;ul&gt;
&lt;li&gt;Storage Locations created in MailStore 10 or earlier, but with messages added by MailStore 11, may not export completely with this process.&lt;&#x2F;li&gt;
&lt;li&gt;In such cases, contact MailStore support for assistance.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Explaining MailStore&#x27;s folder structure</title>
        <published>2023-02-14T00:00:00+00:00</published>
        <updated>2023-02-14T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              dave
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/articles/explaining-mailstore-s-folder-structure/"/>
        <id>https://mailstore-notes.dwlab.me/articles/explaining-mailstore-s-folder-structure/</id>
        
        <summary type="html">&lt;p&gt;All messages in MailStore are within an individual user&#x27;s archive, each user has a separate archive, so for example my incoming messages could end up in any&#x2F;all of these depending on where the messages come from:&lt;&#x2F;p&gt;</summary>
        
    </entry>
    <entry xml:lang="en">
        <title>Removing duplicates</title>
        <published>2023-02-07T00:00:00+00:00</published>
        <updated>2023-02-07T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              dave
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/articles/removing-duplicates/"/>
        <id>https://mailstore-notes.dwlab.me/articles/removing-duplicates/</id>
        
        <content type="html" xml:base="https://mailstore-notes.dwlab.me/articles/removing-duplicates/">&lt;h2 id=&quot;introduction&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#introduction&quot; aria-label=&quot;Anchor link for: introduction&quot;&gt;🔗&lt;&#x2F;a&gt;Introduction&lt;&#x2F;h2&gt;
&lt;p&gt;MailStore does not have any formal deduplication feature.&lt;&#x2F;p&gt;
&lt;p&gt;While archiving MailStore checks each message in the source mailbox to see if it is in the archive in the correct location, skipping messages already in the archive, so in normal operation you should not see duplicated messages.&lt;&#x2F;p&gt;
&lt;p&gt;However, if a user or a mailbox is renamed, you might end up with two different sets of folders for the same user, and although you can merge these together, if the two folders contain the same messages you&#x27;ll end up with duplicates.&lt;&#x2F;p&gt;
&lt;p&gt;Because MailStore&#x27;s archiving process skips messages already in the archive we can export, delete and re-archive the messages, skipping the duplicated messages in most cases.&lt;&#x2F;p&gt;
&lt;p&gt;You must first finish merging and organizing messages in MailStore before proceeding.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;account&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#account&quot; aria-label=&quot;Anchor link for: account&quot;&gt;🔗&lt;&#x2F;a&gt;Account&lt;&#x2F;h2&gt;
&lt;p&gt;You can perform these tasks as the &lt;em&gt;admin&lt;&#x2F;em&gt;, but you need to unblock access to the archive under &lt;em&gt;Administrative Tools&lt;&#x2F;em&gt; -&amp;gt; &lt;em&gt;Compliance&lt;&#x2F;em&gt; -&amp;gt; &lt;em&gt;Compliance General&lt;&#x2F;em&gt;.&lt;&#x2F;p&gt;
&lt;p&gt;Alternatively an individual user can perform most of these steps. The user account must have &lt;em&gt;Archive E-mail&lt;&#x2F;em&gt;, &lt;em&gt;Export E-mail&lt;&#x2F;em&gt;, &lt;em&gt;Delete&lt;&#x2F;em&gt; permissions on their account and also &lt;em&gt;Full Access&lt;&#x2F;em&gt; to their archive. The admin will still need to be involved with certain steps, so it is best to perform the following steps as an administrator.&lt;&#x2F;p&gt;
&lt;p&gt;Login to MailStore using whatever account you like, all of the steps will be performed in &lt;em&gt;MailStore Client&lt;&#x2F;em&gt; using the same account other than any &lt;em&gt;Administrative Tools&lt;&#x2F;em&gt;  steps must be performed by an admin.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;select-the-messages&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#select-the-messages&quot; aria-label=&quot;Anchor link for: select-the-messages&quot;&gt;🔗&lt;&#x2F;a&gt;Select the messages&lt;&#x2F;h2&gt;
&lt;p&gt;This step is optional, but in some cases you&#x27;ll be able to narrow down the range of messages using the search filter. If this is not possible, you can perform the following steps on individual folders, entire user archives, or across the entire MailStore archive as you prefer.&lt;&#x2F;p&gt;
&lt;p&gt;Start by finding a few examples of duplicate messages, they should already be in the same folder and will have the same &lt;em&gt;Date&lt;&#x2F;em&gt;, but they may be archived on different dates, if so the goal is to determine the date that the duplication occurred. You can select a wider date range if you like.&lt;&#x2F;p&gt;
&lt;ol&gt;
&lt;li&gt;Go to &lt;em&gt;Search E-mail&lt;&#x2F;em&gt;&lt;&#x2F;li&gt;
&lt;li&gt;Click the &lt;em&gt;New Query&lt;&#x2F;em&gt; button.&lt;&#x2F;li&gt;
&lt;li&gt;Optional: Click the Folder &lt;em&gt;[...]&lt;&#x2F;em&gt; button and select a starting point. You can leave this blank to work across the entire archive.&lt;&#x2F;li&gt;
&lt;li&gt;Set the &lt;em&gt;Date&lt;&#x2F;em&gt; field to find messages older than the date the duplication occurred.&lt;&#x2F;li&gt;
&lt;li&gt;Set the &lt;em&gt;Archived Date&lt;&#x2F;em&gt; field to find messages &lt;em&gt;not older than&lt;&#x2F;em&gt; than the date the duplication occurred.&lt;&#x2F;li&gt;
&lt;li&gt;Click the &lt;em&gt;Create Search Folder&lt;&#x2F;em&gt;, save the search.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;p&gt;You can review the search if you want, hopefully it will contain one instance of each duplicated message but it may contain both copies of the duplicated messages and&#x2F;or it may contain messages that are not duplicated. This is fine. The goal is to make sure that at least one instance of every duplicated message is found.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;stop-mailstore-archive-e-mail-profiles-from-running&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#stop-mailstore-archive-e-mail-profiles-from-running&quot; aria-label=&quot;Anchor link for: stop-mailstore-archive-e-mail-profiles-from-running&quot;&gt;🔗&lt;&#x2F;a&gt;Stop MailStore Archive E-mail profiles from running&lt;&#x2F;h2&gt;
&lt;p&gt;It is highly recommend to stop all archiving tasks for the next steps. This can be done in more than one way:&lt;&#x2F;p&gt;
&lt;ul&gt;
&lt;li&gt;Launch the &lt;em&gt;Configure the MailStore Server Service&lt;&#x2F;em&gt; tool.&lt;&#x2F;li&gt;
&lt;li&gt;Stop the service.&lt;&#x2F;li&gt;
&lt;li&gt;Start in &lt;em&gt;Safe Mode&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;p&gt;This will stop all background tasks, and only allow &lt;em&gt;admin&lt;&#x2F;em&gt; users to login&lt;&#x2F;p&gt;
&lt;p&gt;-OR-&lt;&#x2F;p&gt;
&lt;ul&gt;
&lt;li&gt;Go to the &lt;em&gt;Archive E-mail&lt;&#x2F;em&gt; panel&lt;&#x2F;li&gt;
&lt;li&gt;Select &lt;em&gt;Show Profiles of All Users&lt;&#x2F;em&gt; at the bottom.&lt;&#x2F;li&gt;
&lt;li&gt;Select each of the profiles that have a spinning circle, right click, select &lt;em&gt;Manual&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;p&gt;Whatever step you take, be sure to keep track of what you changed so you can revert the change later.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;export-the-messages&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#export-the-messages&quot; aria-label=&quot;Anchor link for: export-the-messages&quot;&gt;🔗&lt;&#x2F;a&gt;Export the messages&lt;&#x2F;h2&gt;
&lt;ol&gt;
&lt;li&gt;Go to &lt;em&gt;Export E-mail&lt;&#x2F;em&gt;&lt;&#x2F;li&gt;
&lt;li&gt;Create a new &lt;em&gt;E-mail Files&lt;&#x2F;em&gt; export, &lt;em&gt;Directory (File System)&lt;&#x2F;em&gt;, type &lt;em&gt;EML files&lt;&#x2F;em&gt;&lt;&#x2F;li&gt;
&lt;li&gt;Set the &lt;em&gt;Scope&lt;&#x2F;em&gt; to the messages to be deduplicated, this can be the saved search folder created in the previous step or any other folder you like. Subfolders are included.&lt;&#x2F;li&gt;
&lt;li&gt;Set the &lt;em&gt;Target Folder&lt;&#x2F;em&gt; to a local directory that has enough space. I&#x27;ll use &lt;code&gt;C:\EML&lt;&#x2F;code&gt;. The directory will be created as needed.&lt;&#x2F;li&gt;
&lt;li&gt;Enable both &lt;em&gt;Retain folder structure&lt;&#x2F;em&gt; and &lt;em&gt;Update existing export&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;li&gt;Complete the profile and &lt;em&gt;Run&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;p&gt;A note about the folder you select:&lt;&#x2F;p&gt;
&lt;p&gt;While most operations in MailStore Server use folders relative to the server, in this case we&#x27;re using a folder relative to the client. So for example, if MailStore Client is installed on your personal workstation and you export to &lt;code&gt;C:\EML&lt;&#x2F;code&gt; the files will be written to your workstation instead of the server.&lt;&#x2F;p&gt;
&lt;p&gt;It is possible to use a mapped network drive, UNC path, or external drive, but I would recommend finding a machine with sufficient local internal storage instead as this process is dependent on your disk performance.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;delete-the-messages&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#delete-the-messages&quot; aria-label=&quot;Anchor link for: delete-the-messages&quot;&gt;🔗&lt;&#x2F;a&gt;Delete the messages&lt;&#x2F;h2&gt;
&lt;p&gt;Once the export finishes, return to &lt;em&gt;MailStore Client&lt;&#x2F;em&gt; and delete the messages.&lt;&#x2F;p&gt;
&lt;h3 id=&quot;if-you-exported-the-entire-mailstore-archive&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#if-you-exported-the-entire-mailstore-archive&quot; aria-label=&quot;Anchor link for: if-you-exported-the-entire-mailstore-archive&quot;&gt;🔗&lt;&#x2F;a&gt;If you exported the entire MailStore archive&lt;&#x2F;h3&gt;
&lt;ol&gt;
&lt;li&gt;Go to &lt;em&gt;Administrative Tools&lt;&#x2F;em&gt; -&amp;gt; &lt;em&gt;Storage&lt;&#x2F;em&gt; -&amp;gt; &lt;em&gt;Storage Locations&lt;&#x2F;em&gt;&lt;&#x2F;li&gt;
&lt;li&gt;Right click on each Storage Location and &lt;em&gt;Detach&lt;&#x2F;em&gt;&lt;&#x2F;li&gt;
&lt;li&gt;Create a new Storage Location. MailStore&#x27;s default name is in the format &lt;em&gt;YYYY-MM&lt;&#x2F;em&gt;, I would recommend staying with this format.&lt;&#x2F;li&gt;
&lt;li&gt;Set it to &lt;em&gt;Archive Here&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;h3 id=&quot;if-you-used-a-saved-search-folder&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#if-you-used-a-saved-search-folder&quot; aria-label=&quot;Anchor link for: if-you-used-a-saved-search-folder&quot;&gt;🔗&lt;&#x2F;a&gt;If you used a saved search folder&lt;&#x2F;h3&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to the saved search.&lt;&#x2F;li&gt;
&lt;li&gt;Select the top-most message (single click).&lt;&#x2F;li&gt;
&lt;li&gt;Scroll to the bottom, &lt;em&gt;Shift-Click&lt;&#x2F;em&gt; the bottom-most message to highlight the range.&lt;&#x2F;li&gt;
&lt;li&gt;Right click on any selected message and select &lt;em&gt;Delete&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;h3 id=&quot;if-you-exported-any-other-folder&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#if-you-exported-any-other-folder&quot; aria-label=&quot;Anchor link for: if-you-exported-any-other-folder&quot;&gt;🔗&lt;&#x2F;a&gt;If you exported any other folder&lt;&#x2F;h3&gt;
&lt;ol&gt;
&lt;li&gt;Right click on the folder.&lt;&#x2F;li&gt;
&lt;li&gt;Select &lt;em&gt;Delete&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;h2 id=&quot;re-archive-any-missing-messages&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#re-archive-any-missing-messages&quot; aria-label=&quot;Anchor link for: re-archive-any-missing-messages&quot;&gt;🔗&lt;&#x2F;a&gt;Re-archive any missing messages&lt;&#x2F;h2&gt;
&lt;p&gt;Now we&#x27;ll re-archive the EML files that we exported.&lt;&#x2F;p&gt;
&lt;ol&gt;
&lt;li&gt;Go to &lt;em&gt;Archive E-mail&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;li&gt;Select &lt;em&gt;E-mail Files&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;li&gt;Select &lt;em&gt;EML and MSG files&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;li&gt;Select type &lt;em&gt;MailStore Export&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;li&gt;Set the folder (&lt;code&gt;C:\EML&lt;&#x2F;code&gt; in my case).&lt;&#x2F;li&gt;
&lt;li&gt;Leave other options at their defaults (&lt;em&gt;Include Subfolders&lt;&#x2F;em&gt;, &lt;em&gt;Read MailStore Headers&lt;&#x2F;em&gt; enabled, &lt;em&gt;Verify Signature&lt;&#x2F;em&gt; disabled).&lt;&#x2F;li&gt;
&lt;li&gt;Click &lt;em&gt;Next &amp;gt;&lt;&#x2F;em&gt;&lt;&#x2F;li&gt;
&lt;li&gt;Leave all &lt;em&gt;Advanced Settings&lt;&#x2F;em&gt; at their defaults.&lt;&#x2F;li&gt;
&lt;li&gt;Click &lt;em&gt;Next &amp;gt;&lt;&#x2F;em&gt;&lt;&#x2F;li&gt;
&lt;li&gt;Under &lt;em&gt;Target Archive&lt;&#x2F;em&gt; select the &lt;em&gt;admin&lt;&#x2F;em&gt; user, or your own user. This archive is not used, but the field must be set.&lt;&#x2F;li&gt;
&lt;li&gt;Complete the profile and &lt;em&gt;Run&lt;&#x2F;em&gt;.&lt;&#x2F;li&gt;
&lt;&#x2F;ol&gt;
&lt;p&gt;This will re-archive all of the exported messages, skipping messages already in the archive. If you were able to use a &lt;em&gt;Search E-mail&lt;&#x2F;em&gt; folder to select just a subset of messages then most messages will be skipped but there may be a few messages that were in the selected date ranges that did not get duplicated and we want to make sure we get these messages re-archived.&lt;&#x2F;p&gt;
&lt;p&gt;It is possible that you won&#x27;t have any messages get archived here at all.&lt;&#x2F;p&gt;
&lt;p&gt;When the profile finishes click the &lt;em&gt;Details&lt;&#x2F;em&gt; link, all messages should either be archived, or skipped because they were already in the archive.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;cleanup&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#cleanup&quot; aria-label=&quot;Anchor link for: cleanup&quot;&gt;🔗&lt;&#x2F;a&gt;Cleanup&lt;&#x2F;h2&gt;
&lt;h3 id=&quot;re-enable-archiving&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#re-enable-archiving&quot; aria-label=&quot;Anchor link for: re-enable-archiving&quot;&gt;🔗&lt;&#x2F;a&gt;Re-enable archiving&lt;&#x2F;h3&gt;
&lt;p&gt;You can now return MailStore to normal operation by undoing whatever steps you took in the &lt;em&gt;Stop MailStore Archive E-mail profiles from running&lt;&#x2F;em&gt; step.&lt;&#x2F;p&gt;
&lt;h3 id=&quot;free-up-disk-space&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#free-up-disk-space&quot; aria-label=&quot;Anchor link for: free-up-disk-space&quot;&gt;🔗&lt;&#x2F;a&gt;Free up disk space&lt;&#x2F;h3&gt;
&lt;p&gt;Depending on how you deleted the messages, you might be able to get some disk space back.&lt;&#x2F;p&gt;
&lt;h4 id=&quot;deleted-all-storage-locations&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#deleted-all-storage-locations&quot; aria-label=&quot;Anchor link for: deleted-all-storage-locations&quot;&gt;🔗&lt;&#x2F;a&gt;Deleted all Storage Locations&lt;&#x2F;h4&gt;
&lt;p&gt;If you deleted all of your &lt;em&gt;Storage Locations&lt;&#x2F;em&gt;, you can now delete the files associated with these old Storage Locations. Be sure to not delete the new Storage Location.&lt;&#x2F;p&gt;
&lt;p&gt;If you use MailStore&#x27;s internal backup feature go to the backup directory and delete all of the &lt;em&gt;Filegroup###&lt;&#x2F;em&gt; directories as MailStore&#x27;s backup will not do this automatically. The next time MailStore&#x27;s backup runs it will copy all files that are not in the backup directory.&lt;&#x2F;p&gt;
&lt;h4 id=&quot;deleted-messages-or-folders&quot;&gt;&lt;a class=&quot;zola-anchor&quot; href=&quot;#deleted-messages-or-folders&quot; aria-label=&quot;Anchor link for: deleted-messages-or-folders&quot;&gt;🔗&lt;&#x2F;a&gt;Deleted messages or folders&lt;&#x2F;h4&gt;
&lt;p&gt;If you deleted messages or folders (but not all Storage Locations) then you might consider running a Compact operation on your Storage Location(s).&lt;&#x2F;p&gt;
&lt;p&gt;You won&#x27;t get a lot of space back as much of the content would have been handled by the single-instance-storage system within the Storage Location but there will be some space recovered.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Migrating a &quot;live&quot; MailStore Server</title>
        <published>2023-01-31T00:00:00+00:00</published>
        <updated>2023-01-31T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              dave
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/articles/livemigration/"/>
        <id>https://mailstore-notes.dwlab.me/articles/livemigration/</id>
        
        <summary type="html">&lt;p&gt;If you are moving MailStore to a server in another office, a cloud-hosted virtual machine or leased server, or have a substantial amount of data then it can take a significant amount of time to move MailStore&#x27;s database to another server and it is important to understand what is happening during a migration if you don&#x27;t follow the official steps.&lt;&#x2F;p&gt;</summary>
        
    </entry>
    <entry xml:lang="en">
        <title>Migrating a &quot;live&quot; MailStore Server using rclone</title>
        <published>2023-01-31T00:00:00+00:00</published>
        <updated>2023-01-31T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              dave
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/articles/livemigration/rclone/"/>
        <id>https://mailstore-notes.dwlab.me/articles/livemigration/rclone/</id>
        
        <summary type="html">&lt;p&gt;You cannot copy all of MailStore&#x27;s databases while the server is running, but if you&#x27;re comfortable with the command line, we can pre-stage the bulk of the database using rclone so that the required downtime is minimal.&lt;&#x2F;p&gt;</summary>
        
    </entry>
    <entry xml:lang="en">
        <title>Migrating a &quot;live&quot; MailStore Server using robocopy</title>
        <published>2023-01-31T00:00:00+00:00</published>
        <updated>2023-01-31T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              dave
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://mailstore-notes.dwlab.me/articles/livemigration/robocopy/"/>
        <id>https://mailstore-notes.dwlab.me/articles/livemigration/robocopy/</id>
        
        <summary type="html">&lt;p&gt;You cannot copy all of MailStore&#x27;s databases while the server is running, but if you&#x27;re comfortable with the command line, we can pre-stage the bulk of the database using robocopy so that the required downtime is minimal.&lt;&#x2F;p&gt;</summary>
        
    </entry>
</feed>
