Table of Contents

2. Preparation for Backup and Restore

2.1 Requirement

You are strongly recommended to configure or check all the settings below to confirm all the requirements are met before you proceed with the Exchange Mail Level backup and restoration.

2.1.1 Software Requirement

Refer to the following article for the list of compatible operating systems and application versions.
FAQ: Ahsay Software Compatibility List (SCL) for version 8.1 or above

2.1.2 Antivirus Exclusion Requirement

To optimize performance of AhsayOBM on Windows, and to avoid conflict with your antivirus software, refer to the following article the list of processes and directory paths that should be added to all antivirus software white-list / exclusion list: http://wiki.ahsay.com/doku.php?id=public:8014_faq:suggestion_on_antivirus_exclusions

The bJW.exe process is automatically added to Windows Defender exclusion list for Windows 10 and 2016 during installation / upgrade via installer or upgrade via AUA.

2.1.3 Upgrade VMware Tools Requirement

To avoid unexpected java crash, if the Windows machine is a guest VM hosted on a VMware Host then it is highly recommended that the VMware tools version installed on the guest VM must be 10.0.5 or above.

Below is the warning message that will be displayed if the version of the VMware Tools is less than 10.0.5.

For more information about the upgrade of VMware Tools, refer to this article.

2.1.4 AhsayOBM Installation

2.1.5 Microsoft Exchange Mailbox Add-On Module

One Microsoft Exchange Mailbox license is required for the backup of each user mailbox. No license is required for public folder.

Make sure the Microsoft Exchange Mailbox feature has been enabled as an add-on module in your AhsayOBM user account and there is sufficient Microsoft Exchange Mailbox license quota to cover the backup of your mailboxes.

Please contact your backup service provider for more details.

2.1.6 AhsayOBM Licenses

AhsayOBM licenses are calculated on a per device basis:

Please contact your backup service provider for more details

2.1.7 Backup Quota Requirement

Make sure that your AhsayOBM user account has sufficient storage quota assigned to accommodate the storage of additional Exchange mailbox and public folder items for the new mail level backup set and retention policy.

Please contact your backup service provider for more details.

2.1.8 Continuous Backup Module

The Continuous backup add-on module is required if you would like to enable the continuous backup feature.

2.1.9 Java Heap Size

The default Java heap size setting on AhsayOBM is 2048MB. For Exchange 2013 / 2016 / 2019 mail level backup, it is highly recommended to increase the Java heap size setting to be at least 4096MB to improve backup and restore performance. The actual heap size is dependent on amount of free memory available on your Exchange 2016 / 2019 server.

2.1.10 Temporary Directory Folder

Temporary Directory folder is used by AhsayOBM for storing backup set index files and any incremental or differential delta files generated during a backup job. To ensure optimal backup/restoration performance, it is recommended that the temporary directory folder is located on a local drive with sufficient free disk space.

2.1.11 Scheduled Backup for Exchange Server in Data Availability Group (DAG)

Scheduled backup is required if you choose to back up in DAG option on Exchange server as AhsayOBM on all DAG members will base on the scheduled backup time to start backup on all the individual DAG member at the same time.

However, for backup and restore on a remote backup machine, as the operation for single node can be done either manually or automatically, a scheduled backup is not required.

2.1.12 Mailbox Role

Ensure all nodes have mailbox role. This can be checked by accessing the Exchange admin center (EAC).

2.1.13 Operating System

2.1.14 Supported Exchange Server 2013 / 2016 / 2019 Version

2.1.15 Exchange Servers Properties

To check the properties of Exchange Servers, use the Get-ExchangeServer cmdlet found in the Exchange Management Shell.

Example: Get-ExchangeServer | Format-List Name, Edition,AdminDisplayVersion

Please refer to the following Microsoft article for details of MS Exchange build numbers and releases: https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019

2.1.16 Windows User Account Permission

The Windows user account used for the backup must be a member of the following security groups.

Exchange Server 2013/2016/2019

  • Discovery Management (including ApplicationImpersonation and Mailbox Search)
  • Organization Management
  • Public Folder Management


    Login to the Exchange admin center, under permissions, admin roles. Assign the user to be running the backup as member of the following admin roles:
    • Discovery Management (including the following Roles):
      • ApplicationImpersonation
      • Mailbox Search
    • Organization Management
    • Public Folder Management

Exchange Server 2013

  • Microsoft Exchange Security \ Organization Management
  • Users \ Administrator
  • Users \ Domain Admins
  • Users \ Enterprise Admins

Steps to check the current settings

1. Click Start > Control Panel > Administrative Tools, and then click Active Directory Users and Computers.

2. Browse to the organization unit containing the corresponding operating system account.

3. Right click on the user, and select Properties.

Select the Member Of tab to check on the membership setting.

2.1.17 Enabling Mailbox

The Windows user account must have an Exchange Server mailbox. Refer to the URL below for more information.

Exchange Server 2013/2016/2019

Refer to the following article from Microsoft for more details on how to check if an account is mailbox enabled and how to enable it: https://docs.microsoft.com/en-us/Exchange/recipients/create-user-mailboxes?view=exchserver-2019

Exchange Server 2013

Refer to the following article from Microsoft for more details on how to check if an account is mailbox enabled. https://docs.microsoft.com/en-us/exchange/create-user-mailboxes-exchange-2013-help

Grant Mailbox Access Permission (Full Access)

Enter the following command in the Exchange Management Shell

Get-Mailbox | Add-MailboxPermission –User “%os_username%” –AccessRights FullAccess

Example: granting permission to “administrator” account

Get-Mailbox | Add-MailboxPermission –User “administrator” –AccessRights FullAccess

2.1.18 Login Name Format Requirement

Make sure the Username for connecting the Exchange Server is entered in the format of “user@hostname” (e.g. admin@ahsay.local). It is the same one you can find under the mailbox setting of the Exchange user account on Exchange Admin Center.

2.1.19 Backup Source Requirement

Ensure that the “Hide from address lists” option is unchecked for all mailboxes to be selected for backup. Mailbox hidden from the address list will not be shown in the backup source selection menu.

2.1.20 Port Configuration

As Exchange 2013 / 2016 / 2019 mail level backup and restore is implemented using Microsoft EWS API (Exchange Web Services), which enables AhsayOBM to access mailbox items such as email message, meetings, notes, calendar, contact, etc., without any additional installation or complicated setup required on the Exchange 2013 / 2016 / 2019 Server or remote backup machine, only port 443 must be configured to allow communication between AhsayOBM and Exchange server.

Ensure all MS Exchange related services have been started, particularly the MS Exchange Information Store.

To verify this setting, launch the Services menu by clicking Start then typing “Services” in the search box. All Exchange related services should be started by default, in case it is not, turn it on by right clicking the item and then select Start.

2.1.22 MS Exchange Databases

Ensure the MS Exchange Mailbox and Public Folder databases are mounted. This can be verified by Exchange Management Shell or Exchange Admin Center (EAC).

Get-MailboxDatabase

* Exchange Admin Center (EAC) \\ {{public:documents_and_guides:obm:exchange-mail-level-backup-ews:image084.png?800}}

2.1.23 Windows PowerShell

Windows PowerShell 5.1 Engine for Exchange Server 2016/2019

Ensure that Windows PowerShell 5.1 Engine is installed.

To install the feature:

  • Navigate to Server Manager > Manage, then select Add Roles and Features.
  • On the Select installation type screen, select Role-based or feature-based installation.
  • Select the target server.
  • On the Select features screen, go to the Features option, check the box next to Windows PowerShell 5.1 Engine.

Windows PowerShell 2.0 Engine for Exchange Server 2013

Make sure the Windows PowerShell 2.0 Engine is installed.

To install the feature:

  • Navigate to Server Manager > Manage, then select Add Roles and Features.
  • On the Select installation type screen, select Role-based or feature-based installation.
  • Select the target server.
  • On the Select features screen, go to the Features option, check the box next to Windows PowerShell 2.0 Engine.

2.1.24 .Net Framework

.Net Framework 4.6.2 Features for Exchange Server 2016/2019

Ensure .Net Framework 4.6.2 Features is installed. Please refer to the following URL for detailed information: https://docs.microsoft.com/en-us/Exchange/plan-and-deploy/system-requirements?view=exchserver-2016

This feature can be enabled by accessing Server Manager > Dashboard > Manage > Add Roles and Features Wizard > Feature Page.

.Net Framework 4.6.2 Features for Exchange Server 2013

If you are using Exchange server 2013 on Windows server 2012, please install .Net Framework 3.5 Features.

This feature can be enabled by accessing Server Manager > Dashboard > Add Roles and Features Wizard > Feature Page.

image091.jpg

2.1.25 Remote Exchange Management Shell

For setup on MS Exchange Server 2013, the Remote Exchange Management Shell must be enabled for the operating system account used for the backup.

Enter the following command in Exchange Management Shell to enable this feature.

>Set-User "%os_username%" -RemotePowerShellEnabled $True

Reboot the Exchange Server after executing the command.

Remote Shell in Microsoft Exchange Server enables you to manage your server running Exchange.

2.1.26 LAN Manager Authentication Level

Exchange Server 2013

The LAN Manager Authentication level configured on the Exchange Server must be level 3 or above. Follow the steps below to check the settings.

a. Click Start > Control Panel > Administrative Tools, and then click Local Security Policy.

b. Under Security Settings, expand Local Policies > Security Options, then click Network security: LAN Manager authentication level.

c. Make sure that the setting is configured to use NTLMv2, for example:

  • Send NTLMv2 response only
  • Send NTLMv2 response only. Refuse LM
  • Send NTLMv2 response only. Refuse LM & NTLM

2.1.27 IISAuthenticationMethods Setting

Verify if the IISAuthenticationMethods is set to Basic only. If so, change the setting with the commands below.

Exchange Server 2013

a. Click Start > Microsoft Exchange Server > Exchange Management Shell.

b. Enter the following command to check on the IISAuthenticationMethods setting:

>Get-OutlookAnywhere

c. If it is set to {Basic} only, enter the following command to modify the setting:

>Set-OutlookAnywhere -Identity:"%Server%\Rpc (Default Web Site)" -IISAuthenticationMethods Basic,NTLM,Negotiate

Reboot the Exchange server.

2.2 Supported Source

Below is the supported mailbox type of Exchange Server 2013 / 2016 / 2019 Mail Level backup.

Mailbox Level
Item Supported?
User mailbox
Public Folder
Public Folder Mailbox
Room Mailbox
Equipment Mailbox
Shared Mailbox

Below are the items that you can backup or restore from an Exchange Server 2013 / 2016 / 2019 Mail Level backup set.

Folder Level
Folder Supported?
Inbox
Drafts
Sent Items
Deleted Items
Archive
Notes
RSS Feeds
Junk Email
Tasks
Calendar
Contacts

2.3 Limitation

For backup and restoration of Exchange 2013 / 2016 / 2019 Mail Level backup set, there is some limitation:

a. If you are trying to restore item(s) from one mailbox to an alternate location mailbox, AhsayOBM will restore the item(s) to their respective destination folder(s) with the same name of the original folder(s).

Example: Item from “Inbox” folder of Mailbox-A will be restored to the “Inbox” folder of the alternate location Mailbox-B; Item from “Drafts” folder of Mailbox-A will be restored to the “Drafts” folder of the alternate location Mailbox-B.

b. If you are trying to restore item(s) from several mailboxes to an alternate location mailbox, AhsayOBM will restore the item(s) to their respective destination folder(s) in alternate location mailbox with the same name of the original folder(s).

Example: Item from “Inbox” folder of Mailbox-A and Mailbox-B will be restored to the “Inbox” folder of the alternate location Mailbox-C.

c. Restore of mailbox items or public folder items is only supported if the according mailbox or public folder exists.

d. Only Alternate Location is supported for restoring mailbox items to another domain.

e. Restore of mailbox item(s) in public folder to an alternate location mailbox is not supported.

Example: Restore of mailbox item(s) in public folder from Mailbox-A to alternate location Mailbox-B is not supported.

f. If you are trying to restore the mailbox item to a destination mailbox which has a different language setting than the original mailbox, AhsayOBM will restore mailbox item(s) to their respective destination folder based on the translation listed below.

For folders such as ‘Calendar’ or ‘Notes’, a new folder ‘Calendar’ or ‘Notes’ will be created.

Backup source (English) Action Destination mailbox with Chinese as default language settings
Inbox Merge 收件箱
Outbox Merge 寄件匣
Sent Items Merge 寄件備份
Deleted Items Merge 刪除的郵件
Drafts Merge 草稿
Junk E-Mail Merge 垃圾電郵
Calendar Create new folder Calendar
Notes Create new folder Notes

2.4 Best Practice and Recommendation

The following are some best practices or recommendations we strongly recommend you follow before you start any Exchange Server 2013 / 2016 / 2019 Mail Level backup and restore.

Example-1: There are 100 mailboxes that need to be backup, you can divide 20 mailboxes into one backup set.

Backup Set Name Mailbox Number
Backup-Set-1 No.1 – 20
Backup-Set-2 No.21 – 40
Backup-Set-3 No.41 – 60
Backup-Set-4 No.61 – 80
Backup-Set-5 No.81 – 100
Note: If there are new mailboxes added, you can create new backup set for the new mailboxes.

Example-2: There are 100 mailboxes that needs to be backup, you can divide mailboxes into backup sets in alphabetic order.

Backup Set Name Mailbox Name Start with
Backup-Set-1 A – E
Backup-Set-2 F – J
Backup-Set-3 K –O
Backup-Set-4 P – T
Backup-Set-5 U – Z
Note: If there are new mailboxes added, you can add the new mailboxes into the original backup set by the corresponding alphabetic order.