Knowledge Base

Sort by

How to use connections created by other users in CodeTwo Backup

Problem: CodeTwo Backup does not allow you to use server connections or edit jobs that use server connections configured by other users. Solution: CodeTwo Backup can be operated by any local user account that has access to the mach (ID:877)

How to check if my environment is hybrid?

Problem: You need to check if the environment you are working with is cloud-only, purely on-premises or if it implements any hybrid configuration. Solution: The hybrid environment in most cases refers to an Office 365 tenant perpet (ID:859)

How to register CodeTwo applications in Azure AD

Problem: You want to manually register CodeTwo application in your Azure Active Directory tenant. Solution: CodeTwo Backup (starting version 2.3.x). CodeTwo Office 365 Migration / CodeTwo Exchange Migration (starting version 3.2.x) (ID:840)

How to import PST files to Outlook despite errors

Problem: You receive the following error when importing a PST file to Outlook: Some items cannot be copied. They were either moved or deleted, or access was denied. Solution: There are number of reasons why PST files get corru (ID:822)

How to send files to CodeTwo Customer Support

Problem: You would like to send files (such as program logs, screenshots, emails, etc.) to CodeTwo for diagnostic purposes. Solution: To ensure maximum safety of your files and speed up our response, you should only send us files v (ID:802)

How to retain folder permissions after restoring/migrating public folders with CodeTwo software

Problem: You want to restore/migrate public folders to another Exchange environment by using CodeTwo Backup or CodeTwo migration software. At the same time, you want to keep the same folder permissions as configured on your source enviro (ID:780)

How to split an existing storage into smaller ones in CodeTwo Backup

Problem: Due to the growing volume of Exchange and SharePoint data kept in a single storage in CodeTwo Backup, you need to split that storage into a few smaller ones. Solution: To divide a storage into smaller ones, you need to cr (ID:769)

Changing time limit for creating list lookups in CodeTwo Backup

Problem: You receive the following exception while attempting to restore the backed-up SharePoint data with CodeTwo Backup: Creating a single list lookup for list '' exceeded the set time limit of 30 minutes. The lookups for this (ID:760)

How to change the versioning settings in SharePoint

Problem: When restoring SharePoint data in CodeTwo Backup, you receive notifications informing you that the program was unable to change or restore some or all versioning settings for a list or library in your SharePoint environment.  (ID:755)

How to export public folders to a PST file

Problem: You want to export your backed-up public folder data to a PST file by using CodeTwo Backup. Solution: CodeTwo Backup fully supports exporting backed-up Exchange data, including public folders, to PST files. This can be ac (ID:751)

How to create an account that can be used to back up SharePoint data

Problem: You want to create a new admin account that is used by CodeTwo Backup to back up and restore SharePoint data.  Solution: Below you can find step-by-step instructions on how to create an admin account that has all the nec (ID:730)

How to remove unnecessary mailboxes from a backup storage

Problem: After creating a backup of your Exchange or Office 365 mailboxes using CodeTwo Backup, you want to delete one or more unnecessary mailboxes from the backup storage. This may be required by your legal team to help you stay compl (ID:682)

How to use app passwords with CodeTwo software

Problem: You have a Microsoft 365 (Office 365) account with multi-factor authentication (MFA) enabled. When configuring a connection to Microsoft 365 in CodeTwo software, you receive the following error: The request failed. The rem (ID:667)

How to grant full access control to public folders

Problem: You have insufficient access rights to migrate or back up public folders with CodeTwo software. Solution: The admin account used in CodeTwo software to connect to the source server needs to be manually granted the Full con (ID:658)

How to allow PowerShell to connect to Exchange Server over IP address

Problem: You need to be able to connect with PowerShell to your on-premises Exchange Server by using its IP address instead of its FQDN or hostname. Solution: In order to allow PowerShell to connect remotely over an IP address, Po (ID:601)

Enable WCF Tracing

Problem: You would like to enable tracing of any WCF service or application, for diagnostic purposes. Solution: Every WCF service and application comes with its own CONFIG file. The CONFIG files are located in the same director (ID:553)

Moving installation of CodeTwo Backup to another machine

Problem: You need to move CodeTwo Backup installation to a different machine, and you want to keep your old data, settings, etc. Solution: The CodeTwo Backup installation is not designed to be moved between different machines. Beca (ID:519)

Create an RBAC-compliant account for CodeTwo Software

Problem: You need your CodeTwo software to use the credentials of an account that has only the minimum required permissions, following the Role Based Access Control (RBAC) approach. Solution: The CodeTwo software listed on the righ (ID:517)

How to find the EWS URL and how to test it

Problem: You want to know the URL of Exchange Web Services (EWS). Solution: Finding the EWS URL on a client access server Finding the EWS URL by using the configuration of Web Services Virtual Directory Testing the EWS URL  (ID:429)

How to create public folders in Microsoft Exchange and Office 365

Problem: You need to manually enable public folders in Exchange Server 2010, 2013, 2016, 2019 or Exchange Online (Office 365). Solution: To enable public folders, you have to create an empty public folder tree. If you are using Cod (ID:289)

How to set impersonation rights manually

Problem: How to manually manage impersonation rights for an administrator account. Solution: Use the links below to learn how to add impersonation rights to your admin account via: PowerShell Exchange admin center (applies (ID:285)

Changing message size limits

Problem: You would like to change the message size limit, set on your target Exchange Server. This may be helpful when uploading large items via Exchange Web Services (EWS). EWS is used by selected CodeTwo products such as migration or b (ID:284)

How the Exchange throttling policy impacts CodeTwo software

This article discusses the concept of throttling and how the Exchange throttling policy affects the performance of CodeTwo software. In addition, it provides instructions on how to manage throttling policies in Exchange. What is throttli (ID:283)


CodeTwo Backup is designed to create local backups of your Exchange and SharePoint data sitting on Office 365 and on-premises servers. The program allows you to back up mailboxes, public folders, SharePoint sites and site collections, Offic


The licensing of CodeTwo Backup is based on an annual subscription model. When the 12-month subscription period is over, you need to renew your subscription to continue running existing backup jobs and to create new backups. However, you wi

Troubleshooting on-premises Exchange Server connectivity

Typical connection problems for on-premises Exchange servers are described below. Exchange server name vs. IP address Failed to connect to Exchange Server Failed to grant the impersonation rights Failed to connect to target

Troubleshooting SharePoint connectivity

This article contains information on all known connectivity problems related to SharePoint servers (both SharePoint Online and its on-premises version) as well as possible solutions. Problems with configuring a connection to SharePoin

Creating a new connection to Exchange server

To be able to back up your Exchange data in CodeTwo Backup, you first need to configure a connection to your server. The program allows you to configure multiple connections to Office 365 (Exchange Online) and on-premises Exchange servers.

Creating a new connection to SharePoint

CodeTwo Backup allows you to connect to multiple SharePoint servers, both online (Office 365) and on-premises. You can configure the connection when creating a new backup job or directly from the program’s Dashboard, by clicking the Setti

Creating SharePoint restore jobs

Backed-up SharePoint data can be restored from a local storage to the original location or another SharePoint server (Office 365 or on-premises). This is achieved with restore jobs. CodeTwo Backup allows you to restore entire SharePoint sit

Creating Exchange backup jobs

This article describes how to configure an Exchange backup job to create a local backup of your Office 365 or on-premises Exchange mailboxes and public folders. Use this job to back up: user mailboxes (including archived mailboxes)


If you have installed the trial version of CodeTwo Backup, you do not need to reinstall the program or use any other installer to activate it to the full version. Simply use the product license key that you have received after finalizing yo

Dashboard and alerts

The Dashboard tab lets you monitor the operation of the program and navigate to other tabs or cards. It also allows you to control some of the functions of the program, including jobs, storages, server connections, and alerts. The Dashboard

Supported platforms and requirements

The tables below contain all the information regarding system requirements and supported platforms for CodeTwo Backup. Software components The program consists of two main components installed together:

Creating SharePoint backup jobs

This article explains how to configure a SharePoint backup job to create a local backup copies of your SharePoint Online or on-premises SharePoint Server data. This type of job lets you back up: SharePoint team sites (SharePoint Onlin

Installation process

CodeTwo Backup can be installed on any computer that meets the installation requirements. This includes both physical and virtual machines. The program is also available on Azure Marketplace, which means you can easily deploy it on Azure vi

Troubleshooting Office 365 connectivity

When you verify connection settings in the last step of the Exchange connection wizard, CodeTwo Backup performs the following actions: it registers itself in Azure Active Directory of the tenant to which you are configuring the connection (

Quick guide to creating and restoring backups

This section describes step by step how to create a continuous backup job for multiple source mailboxes located in Office 365. This job will be triggered during the week, outside the working hours. You will also learn how to restore severa

Monitoring jobs

The Jobs tab of CodeTwo Backup (Fig. 1.) has two main functions. First, you can create and manage all jobs from here. Second, it holds details about all defined jobs: backup, restore, and archive. Fig. 1. The Jobs tab of CodeTwo Ba

Creating Exchange restore jobs

CodeTwo Backup can restore mailboxes and public folders from a local storage to a chosen Exchange server (Office 365 or on-prem) via restore jobs. You can also choose to restore only selected folders (Inbox, Sent Items, etc.) or items (ind

Backup model

This article describes the algorithm behind the backup model. CodeTwo Backup is an incremental backup software solution designed for both Office 365 and on-premises Exchange and SharePoint servers. Incremental backup means that only the

Creating a new storage

To be able to back up any data, you first need to create a new storage. There are two ways to do so: Directly in the Administration Panel: go to the Storages tab and click New on the menu bar (Fig. 1.). Fig. 1. Opening th

Create backups

CodeTwo Backup creates backups of your Exchange data (mailboxes and public folders) as well as SharePoint data (site collections, team sites, and OneDrive for Business) by running backup jobs. The backed-up data is kept in storages. Each

Configuring an archive job

This article explains how to configure an archive job for a selected storage.  Start by opening the archive job wizard. You can do it: from the Jobs tab, by clicking New > Archive storage on the top menu (Fig. 1.), Fig.

Installation overview

This section includes the essential information required to install the program in your environment. Installation process How to update or upgrade and what is the difference Reinstall or move to a different machine How to unin

Data retention policies

Backing up your Exchange and SharePoint data can quickly use up the available storage space, no matter how large it is. To keep your storage growth under control and avoid situations when all your local drives are full, CodeTwo Backup comes


This section describes the most common problems associated with connecting to Office 365, Exchange server, and SharePoint server, along with proposed solutions. Use the links below to learn more: Troubleshooting Office 365 connectivit

Restore backups

CodeTwo Backup can restore data from a storage to a chosen location via restore jobs. It is possible to restore entire mailboxes and SharePoint sites (site collections, team sites, and OneDrive for Business sites), as well as individual i

First steps

First time using the program? Here are some useful links: Supported platforms and requirements – see the technical specifications required to use the software. Installation overview – find out how to install, update, reinstall

Archiving to PST

This article explains how to configure a PST archive job for a selected storage in order to export your Exchange data (mailboxes, public folders, etc.) to PST files. The PST archive job will create a separate PST file for each mailbox and p

Server connection

CodeTwo Backup is designed to work with Exchange Online and SharePoint Online included in Office 365 as well as on-premises Exchange and SharePoint servers. In all these cases, the software uses the administrator account (that has appropria

Data archiving

CodeTwo Backup saves data in local repositories called storages. For safety reasons, the backed-up data can be stored only on local disk drives. As the volume of the backed-up data increases, the storage volume increases. To avoid situation

Log files

CodeTwo Backup generates log files for all kinds of jobs. They are all kept together within the software's subfolder in the %ProgramData% folder along with some configuration and statistics files. Sending logs to CodeTwo Support If yo

Archiving storages and importing archives

CodeTwo Backup saves the backed-up data in local repositories called storages. For safety reasons, storages can be created only on local disk drives. To avoid storing a lot of unnecessary data locally, and keep storage growth under control,

Scheduler and activity periods

The two main features of CodeTwo Backup – backing up and restoring data – are realized via the so-called jobs. A backup job, once configured, can be executed either manually or automatically, by using a built-in scheduling capability. T

Trial version

The trial version of CodeTwo Backup can be used for free for 30 days. During this period, the program offers the same functionalities as the full, licensed version, with the following exceptions: you can restore up to 5 items from eac

Data storage

Data storage characteristics CodeTwo Backup keeps the backed-up data in a local resource referred to as storage. A storage consists of a folder tree that resembles the structure of a mailbox or SharePoint site. All items backed up by the

Scheduling backup jobs

Backup jobs don't need to be completed in one go. They can be automatically paused and resumed at your convenience. For example, you may want to run a 10-hour backup job in 2-hour batches, backup your data only when the workload on your s

Data restoring

Choosing data to restore CodeTwo Backup has the ability to restore data from your backups. To simplify the selection of data to be restored, it is possible to search and browse through the backed-up data directly in the program. This

Mapping SharePoint users, groups and permissions

CodeTwo Backup allows you to restore backed-up SharePoint (including OneDrive for Business) data to the original or another SharePoint server. This data also includes permission levels assigned to individual users or groups of users. When r

How to update or upgrade and what is the difference

The version number The program's version is always visible on the title bar of the main window of the program. It consists of 4 numbers separated by dots, e.g. The version number uses the following pattern: [major].[minor].


A storage is a target destination where the program saves the backed up data. It is also a place from which backup data is restored. Both Exchange/Office 365 and SharePoint data can be backed up to the same storage. However, you cannot bac

Configuring server connections

CodeTwo Backup connects to your environment through the use of server connections. All configured server connections are visible on the Dashboard tab, on the Defined server connections card (Fig. 1.). Fig. 1. The Defined server conne

Uninstall CodeTwo Backup

Removing CodeTwo Backup is as easy as uninstalling it from the Windows Control Panel: Go to your Windows Control Panel. Click on Programs and Features (or Add or Remove Programs in older Windows version). Find CodeTwo Backup on th

Understanding CodeTwo Backup

This section contains conceptual descriptions of all features of the program. If you want to know how to configure each feature, go to the respective section in this manual: Creating data backup Restoring backed up data Archi


Your feedback is very important to us. It has continuously helped us develop better applications and we strongly encourage you to send us your concerns and suggestions about new and existing features. Your opinion shapes new functionalities

Importing archives

Archives created with archive jobs in CodeTwo Backup can be imported back to the program. A short, four-step wizard will guide you through the import archive job configuration. Warning It is not possible to import data from PST ar

Monitoring and diagnostics

There are several ways to monitor the software and diagnose problems in CodeTwo Backup: Dashboard serves as the command and control interface for the software and displays alerts. Alerts (including email notifications) warn softw

Program's components

The architecture of CodeTwo Backup resembles a client-server model. There are two main components of the software: the Backup Service and the Administration Panel. Both of them have to be installed, but serve different purposes and run inde

Filtering and previewing items to be restored

This article will help you navigate the Backups tab, where you can preview the contents of each storage and choose items that you want to restore. Follow the links below for additional information: Selecting a storage Previewing ite

How to reinstall the program or move it to a different machine

Sometimes you may need to reinstall the program or even move it to a different computer. Keep reading to learn how to do that. Reinstallation Reinstallation of the software is rarely required. However, it may happen that it will be

Managing existing connections

All server connections defined in the program can be easily configured via the Manage server connections window. To open this window, go the Dashboard tab of the Administration Panel and click the Manage () button in the upper-right cor

Getting started

The links provided below lead to essential information about the system requirements of CodeTwo Backup as well as how to install the program in your environment. Supported platforms and requirements - the list of supported Exchange a

Upgrade to version 2.x

The upgrade is free of charge for all clients who already own a valid license key for version 1.x of CodeTwo Backup. New clients should simply purchase a new license. See the details below. New clients If you don't own a version 1.x l

Managing existing storages

Each storage created in the program can be managed from the Storages tab in the Administration Panel. You can: Add an existing storage Edit storages Remove storages Adding an existing storage To add an existing storage,

Monitoring storages

Since storages are in constant use by running (active) jobs, you can check their status in three different places in the Administration Panel. You can monitor your storage: on the Storages card on the Dashboard tab (Fig. 1.). The

How does CodeTwo Backup for Exchange work?

CodeTwo Backup for Exchange can be deployed on any Windows 7 (or newer) or Windows Server 2008 (or newer) machine within your domain. It connects with your servers via Exchange Web Services (EWS) and SharePoint API to back up mailboxes, public folders and on-premises SharePoint data to an in-house storage. The admin using the program must have impersonation rights granted on users' mailboxes. The admin using the program must be assigned specific roles or given necessary access rights to back up Exchange and SharePoint data (learn more).

Backups are based on jobs which have 3 customizable properties: location of the backup; scope of data to be archived (defined using a wide range of criteria); start and end time of the backup job.

2 types of backup jobs are available: one-time and continuous. Continuous backups are performed in cycles. The first cycle creates a backup copy of all the data that meets the criteria defined by the admin. Subsequent cycles create only incremental layers in places where changes have been introduced.

Restoring data is possible on virtually every level: starting with items or attachments, through folders, ending with entire mailboxes. As for SharePoint, the program allows you to restore entire site collections, individual sites, lists, libraries, folders or single items. The target location of a restore action can also be chosen freely. It can another SharePoint server or even Office 365 tenant.

Can I trial the software?

Yes, you can.

The trial version is free and works for 30 days. All backup features are fully functional during the trial. Restoring items is limited to 5 per folder. If you want to test the restore feature without this limit, you can contact CodeTwo Customer Service and ask for a special temporary license key that removes the limit for a few mailboxes.

After the trial ends, the software ceases to operate, but all settings and completed backups are kept. When you activate CodeTwo Backup for Exchange with a license key, the software will pick up from where you left off during the trial.

What are the system requirements?

The minimum hardware and system requirements for CodeTwo Backup for Exchange to work correctly can be found in the user's manual

The software can be installed on a physical or virtual machine. The user performing the backup tasks needs to have impersonation rights granted on users' mailboxes (if not, the program will assign that user the necessary rights automatically). By default, such rights are granted to members of the Organization Management group.

Disk space requirements depend on the amount of data you want to back up. We highly recommend using SSD drives for storing your backed-up data.

Does CodeTwo offer storage for mailbox backup copies?

No, we don't. All mailbox backup copies must be stored on your own drives.

Is there a backup-to-cloud option?

No, not yet. But we may add support for 3rd party cloud hosting services in the future.

How much disk space will I need?

It depends on how much data you want to back up. CodeTwo Backup for Exchange will perform backups until there is no free space left. The program's interface displays information about the amount of used and free disk space.

How is CodeTwo Backup for Exchange priced and licensed?

The license for the program is sold in an annual subscription model. One license is taken per each backed-up user. To back up shared resources such as public folders and SharePoint data, you need to assign licenses to each user who has access to and can modify the contents of a certain resource. The license has to be renewed after one year if you want to continue backing up your data. You can’t pay for the subscription monthly. Learn more on the pricing page.

When your annual subscription expires you will no longer be able to back up data, but you will still be able to restore items.

Can I reassign a license of a user who left the company?

Yes, you can.

CodeTwo Backup for Exchange allows you to recycle licenses meaning that you can release a license from a mailbox and reassign it to another one – providing that the license has already been in use for at least 30 days.

How can I add seats to my license?

You can purchase additional seats for your license using the Additional licenses option available in the CodeTwo Backup for Exchange order form. Make sure to prepare your existing license key, so that you can provide it during the ordering process.

Purchasing additional licenses does not extend the subscription end date (the cost of additional licenses is reduced to cover only the time left on your subscription).

What does CodeTwo Backup for Exchange back up?

The software backs up user mailboxes, archive (in-place archive) mailboxes, shared mailboxes, SharePoint site mailboxes, resource (room and equipment) mailboxes and public folders from Microsoft Exchange Server 2019, 2016, 2013 and 2010 (SP1), as well as SharePoint Server 2016 and 2013 site collections. All typical folder and item types are supported. CodeTwo Backup for Exchange also can be used to back up Office 365 (Microsoft 365), that is mailbox data in Exchange Online, site collections and team sites in SharePoint Online and OneDrive for Business data. For more details on supported scenarios see our user’s manual.

At this point, the program does not back up Skype for Business. If you need this feature, please contact us to submit your feature request.

Can I use it to export mailbox data to PST files?

Yes, you can. To export mailbox data to PST files using CodeTwo Backup for Exchange, you have to perform 2 steps:

  1. Create a backup of selected mailboxes. Learn more...
  2. The backup will be saved in a storage, which can be archived to PST files using a dedicated option. Learn more...

CodeTwo Backup for Exchange allows for exporting public folders data to the PST file format as well. Learn more…

You can also set CodeTwo Backup for Exchange to archive data to PST files repeatedly. To manage disk space taken up by the archives on your local drive, you can apply an archive retention policy.

Is there an option to limit the scope of backed up items?

Will I be able to create one-time data snapshots or do I need to run continuous backups only?

CodeTwo Backup for Exchange lets you do both. You can set it to create a one-time snapshot of a selected chunk of mailbox data, and then stop. But you can also configure continuous backups that work non-stop, or in scheduled activity periods.

Does the software impose item size or speed limits?

No, it doesn't. Its performance depends only on environmental factors such as hardware speed, mailbox database access speed, EWS and SharePoint API performance (CodeTwo Backup for Exchange uses EWS to connect to your server and SharePoint API to connect to your SharePoint), etc.

There is also no limitation regarding total backup copy size.

Does it back up Outlook rules?

No, not in the current release. But we may add this capability in the future.

How are end-users affected by the program's performance?

They aren't. CodeTwo Backup for Exchange accesses all mailboxes and SharePoint sites on the server-level, reads their contents and creates copies in a location chosen by the admin. Service availability is not interrupted during the process.

How many backup/restore jobs can I create?

CodeTwo Backup for Exchange does not limit the number of jobs that can be created in the program. So, to answer the question: an infinite number.

How are shared mailboxes licensed?

You do not need licenses to back up shared mailboxes with CodeTwo Backup for Exchange. The same applies to other types of on-premises Exchange mailboxes such as SharePoint site, archive and resource mailboxes. For more details on how different types of mailboxes are licensed, see the program’s manual.

Can I back up mailboxes to a shared network drive/storage?

Yes, you can. CodeTwo Backup for Exchange allows creating archive jobs that can be used to save backed-up data on external drives. To do so, follow these steps:

  1. Run CodeTwo Backup for Exchange and perform a backup of a selected range of mailboxes and/or SharePoint sites using a new or existing storage. You can set a retention policy as well. Learn more... 
  2. On the Storages tab, select the storage used for the backup and click Archive. Then, in the Target archive step of the job configuration wizard, you need to browse the target folder path; confirm your shared network location and finish the wizard. Learn more...

Why should I use CodeTwo Backup for Exchange?

Thanks to CodeTwo Backup for Exchange you can create and manage your mailbox, public folders and SharePoint data backups from one place, all that via the admin-friendly console.

Once backup copies are stored on local drives, the program ensures unlimited accessibility of important data (offline backups) and allows for searching and restoring certain items when it is necessary.

CodeTwo Backup for Exchange will also help you fulfill legal requirements regarding the need for electronic data preservation so that certain data is available for legal actions.

Additionally, you can be ensured that no important emails will be lost irreversibly as you have its all versions kept safe.

More reasons speaking in favor of this software are available here.