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)
- shared mailboxes
- resource mailboxes (room and equipment)
- Office 365 group mailboxes (Exchange Online only)
- SharePoint site mailboxes* (on-premises Exchange servers only)
- public folders
If you want to back up your SharePoint and OneDrive for Business data, go to the article on creating SharePoint backup jobs.
* SharePoint site mailboxes are hosted on on-premises Exchange servers, which is why you need to create an Exchange backup job to back them up.
All jobs in CodeTwo Backup are created by running configuration wizards. There are two ways to open the wizard that will guide you through the Exchange backup job configuration:
- on the Dashboard tab, click the Create a new Exchange backup job link on the How to start card, or
- go to the Jobs tab and click New > Backup > Exchange (Fig. 1.).
Keep in mind that the How to start card is only available if you haven’t configured any backup jobs yet. In either case, the New Exchange backup job wizard will appear (Fig. 2.). It will guide you through the following steps of creating a backup job:
- Job name, where you define the name of your backup job.
- Job continuity, where you choose to run the backup job continuously or only once.
- Activity periods, where you can configure the backup job to start and stop automatically.
- Server connection, where you set up or select a connection to your Exchange server (Online or on-premises).
- Mailboxes, where you select user (including archive), shared or resource mailboxes that you want to back up.
- Site mailboxes, where you select on-premises SharePoint site mailboxes that you want to back up.
- Office 365 group mailboxes, where you select Office 365 group mailboxes that you want to back up.
- Public Folders, where you select Exchange public folders that you want to back up.
- Target storage, where you select or create a storage location that is used to keep your backed-up data.
- Time filter, where you choose which items will be backed up depending on their age.
- Folder filter, where you decide which special folders to exclude from the backup process.
- Job summary, where you can review your backup job settings.
You can navigate between the wizard’s steps freely and configure them in any order you want.
In this step (see Fig. 2. above), enter a unique name of your backup job. You will not be able to finish the wizard if the entered name has already been used.
Select the first option, Continuous backup, if you want to back up your Exchange data infinitely, in cycles. The first cycle backs up all your data, while each subsequent cycle is an incremental backup, meaning that only changes in your data, including new items, are backed up. The Idle time between cycles functionality allows you also to specify how much time needs to pass before the next cycle can start.
If you select the One-time backup option, the backup job will run only once (one cycle). However, once finished, you can restart such backup job manually in order to perform an incremental backup.
This feature allows you to specify the time ranges during which the program will automatically start and stop your backup job. To enable it, select the Enable activity periods checkbox (Fig. 4.).
You can now schedule your backups on a daily, weekly, monthly or custom basis, or define the end date for the backup job (Fig. 5.).
This is where you select an Exchange server from which you want to back up the data. If you haven't defined any connections yet, click Manage > New (Fig. 6.) to open the Exchange connection wizard where you can configure a connection to Exchange Online (Office 365) or to an on-premises Exchange server. Learn more about how to configure an Exchange connection
If you have already configured an Exchange connection, simply select it from the drop-down menu (Fig. 7.).
CodeTwo Backup allows you to back up either all mailboxes existing within your server or only selected ones. Additionally, if you use the Archiving (or In-Place Archiving) feature on your Exchange server, you can select the Include archive mailboxes in the backup checkbox to back up users' archive mailboxes (Fig. 8).
First, select one of the available options:
- Back up mailboxes from the list below
- Back up all existing and future mailboxes except the ones from the list below
and click Add. The Select mailboxes window will open. Depending on which option you have chosen previously, select the mailboxes that you (a) want to back up (Fig. 9.) or (b) exclude from the backup.
You can use the search box (Fig. 10a) to find a particular mailbox or filter mailboxes by their type (Fig. 10b).
The type of a mailbox is represented by an icon shown next to the mailbox name:
– user mailbox
– another mailbox type (shared, room, equipment or system mailbox)
To back up all mailboxes from your Exchange server, simply select the Back up all existing and future mailboxes except the ones from the list below option and don't add any mailboxes to the list (Fig. 11.). The number of mailboxes that will be backed up is shown below the table (this number does not include archive mailboxes).
You can back up SharePoint site mailboxes from on-premises Exchange servers only.
Select which SharePoint site mailboxes you want to back up. Just like in the case of regular mailboxes, there are two options available:
- Back up site mailboxes from the list below
- Back up all existing and future site mailboxes except the ones from the list below
This step is very similar to the previous step of the Exchange backup job wizard, so for more information on how to select specific site mailboxes refer to the Mailboxes section above.
Office 365 groups are not available on on-premises Exchange servers, which means Office 365 group mailboxes can be only backed up from Exchange Online.
To back up Office 365 group mailboxes, select either:
- Back up Office 365 group mailboxes from the list below, or
- Back up all existing and future Office 365 group mailboxes except the ones from the list below
option and proceed as specified in the Mailboxes section above.
Office 365 groups may be connected to SharePoint Online team sites. To back up such sites with CodeTwo Backup, you need to configure the SharePoint backup job.
In this step, you can decide which Exchange public folders to back up. Click Add to open the Select Public Folders window. Next, select the checkbox next to the public folders you want to back up (Fig. 12.).
If any of these folders have subfolders and you want to include or exclude them from the backup, use the Back up subfolders checkbox (Fig. 12. above). Keep in mind that if you leave this checkbox selected, any future subfolders created in this public folder will be also backed up in subsequent backup cycles.
When backing up mailboxes and public folders in one job, be aware that licenses are assigned first to the mailboxes, and then to the public folders. If you don't have enough licenses to back up all your data and you wish to back up public folders first, we recommend creating two separate backup jobs: one for mailboxes, the other one for public folders. Run the public folders jobs first. When it's finished, run the mailbox backup job. Learn more about licensing regarding public folders
A storage is where your backed-up data is kept. In this step, you can either click New to open a storage creation wizard or select an existing storage from the drop-down menu (Fig. 13.).
In the Time filter step (Fig. 14.) you define which items from the source mailboxes will be backed up depending on their age.
You can configure the program to back up:
- all items regardless of their age – when a backup job processes mailboxes, all items will be backed up, no matter if they were modified or not.
- only items older than [period of time] – the program will examine source mailboxes and back up only those items that were created or modified before a specified period of time.
- only items not older than [period of time] – the program will back up only those items that created or modified within a specified period of time.
There is also an option to override the time filter for contact items, allowing you to back up all contacts, no matter when they were created or modified.
Assessing the age of items
The age of appointments, meetings or similar items (including a start/end date or another time property) is calculated based on the time when these items occur.
Example: today is 1 June 2018 and you decided to back up only items from the last 6 months. Over a year ago, in May 2017, someone created an Outlook appointment which starts on 15 April 2018 and sent the notification email. In such a case, the appointment will be included in your backup, as it occurs within the defined time frame. However, the email sent in May 2017 does not contain any start or end date, so it will not be backed up.
If an item does not contain a time value, its age is calculated based on its last modification date. The list below shows which properties are considered when defining the item’s age:
- Contacts – Last Modified Date
- if you select the only items older than option – Start Date; if missing, then End Date
- if you select the only items not older than option – End Date; if missing, then Start Date
- Emails – Received Date, then Sent Date, and then Created Date (if the program cannot find the Received Date property, it searches for Sent Date, and so on)
- if you select the only items older than option – Start Date; if missing, then Due Date
- if you select the only items not older than option – Due Date; if missing, then Start Date
- Notes – Last Modified Date
- if you select the only items older than option – Start Date; if missing, then End Date
- if you select the only items not older than option – End Date; if missing, then Start Date.
Here you can define a filter that excludes special folders, such as RSS Subscriptions or Drafts, in source mailboxes from the backup process (Fig. 15.). To do so, select the checkbox next to the folder type you want to exclude.
Here you can verify if you have configured the backup job according to your requirements (Fig. 16.).
In case you want to make any changes, click the name of any of the previous steps of the wizard and adjust your settings accordingly. If everything is correct, click Finish.
If you did not specify the job's activity periods, you need to start the job manually. However, as soon as you finish the wizard, a pop-up window will appear, allowing you to start the backup job immediately (Fig. 17.). Click Yes to do so.
Otherwise, use the Start button on the Jobs tab to start the selected job.
Monitoring jobs – find out how to monitor and manage existing jobs.