> For the complete documentation index, see [llms.txt](https://helpcenter.gitprotect.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.gitprotect.io/backup-and-recovery/microsoft-365/recovery/restoring-microsoft-exchange-and-onedrive-data.md).

# Restoring Microsoft Exchange and OneDrive data

Restore emails, calendars, contacts, and selected OneDrive folders and files from a backup.

**Microsoft Exchange and OneDrive data can be restored with granular control over the recovery scope and destination. Emails, calendars, contacts, files, and folders can be restored directly to a Microsoft 365 user account or locally to a device, supporting recovery after accidental deletion, migration, and other data-loss scenarios.**

***

## Recovery process

The below steps demonstrate how to restore **Microsoft Exchange** data and **OneDrive** folders and files using **GitProtect Management Service**.

{% stepper %}
{% step %}
Open the **Microsoft 365** tab, then click the **Explore** button next to the organization whose backup you want to restore.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FQwlmqheTmo8EAuNnsGQ2%2Frestoring_microsoft_exchange_data_1.png?alt=media&amp;token=6e835186-b385-4d42-8968-703b311450de" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In the **Microsoft 365 Users** tab, search for the user whose data you want to restore, and then click the restore button in the action menu for that user.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FCHyy1E18LB9zzpuGW69X%2Frestoring_microsoft_exchange_data_2.png?alt=media&amp;token=eae58013-ce9e-4bbd-8524-aa5491e76d6b" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Next, select the backup plan from which you want to restore data. Click **View available plans**, and then select a plan from the list.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FfSWUKCTpy3fTVHRHOu38%2Frestoring_microsoft_exchange_data_3.png?alt=media&amp;token=333715a4-7c75-4b48-b178-7cc579337dc3" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Choose the backup version from all the backups that have already been performed — select the desired date and click the **Restore** button.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FT1TWaqrs9hJbXVwEW0kA%2Frestoring_microsoft_exchange_data_4.png?alt=media&amp;token=b8526b2e-ec26-469a-a2c6-8983a8c71b24" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select the restore destination and click **Next**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FYQMwb98BHgZN10ILaSxl%2Frestoring_microsoft_exchange_data_5.png?alt=media&amp;token=ff78d3d8-04ae-4e2f-a503-2bf102f990f6" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In the next pane, browse the tabs, select the data you want to restore, and click **Restore selected**. Alternatively, click **Restore all** to restore all available data.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2F88GJsWJSnmYfaS5Ep8QG%2Frestoring_microsoft_exchange_data_6.png?alt=media&amp;token=b4039d89-d1e3-4c67-b61f-a17bacf5402e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Next, depending on the selected restore destination, configure the **Restore to** and **Restore directory** settings.

#### Restore to the original account

1. In the **Restore directory** section, choose one of the following options:
   1. **New directory** — creates a new directory to restore the data to.
   2. **Original directory** — restores the data to its original location. You can also choose to overwrite existing **OneDrive** files and email messages.

{% hint style="warning" %}
The option to create a copy of overwritten **OneDrive** files is currently unavailable.
{% endhint %}

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FMHJDIDybWpNucIdBmXRX%2Frestoring_microsoft_exchange_data_7.png?alt=media&amp;token=afc86fed-3f55-45f1-8a0d-ddbca59554a7" alt=""><figcaption></figcaption></figure>

#### Restore to a new account

1. In the **Restore to** pane, select the user to whom you want to restore the data, and click **Save**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FH4RDkvsO77kq5gPMoRZq%2Frestoring_microsoft_exchange_data_8.png?alt=media&amp;token=628c5e9e-890e-40cb-a1c2-842b9804247e" alt=""><figcaption></figcaption></figure>

2. In the **Restore directory** section, choose one of the following options:
   1. **New directory** — creates a new directory to restore the data to.
   2. **Original directory** — restores the data to its original location. You can also choose to overwrite existing **OneDrive** files and email messages.

{% hint style="warning" %}
The option to create a copy of overwritten **OneDrive** files is currently unavailable.
{% endhint %}

#### Restore to a device

1. In the **Restore to** pane, select the device to use as the restore destination, and click **Save**.
2. In the **Restore directory** section, select the directory where the data will be restored, and then click **Apply**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FzUtKaCfFdsJBK89J4Izz%2Frestoring_microsoft_exchange_data_9.png?alt=media&amp;token=72780d4a-04bc-48b7-9304-f6511cf88183" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In **Restore settings**, you can limit bandwidth usage and select the default backup agent (worker) that will be used to restore the data (where applicable).

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FBdo7UjHLGfTtqwoC0IyB%2Frestoring_microsoft_exchange_data_10.png?alt=media&amp;token=3df7ee0f-7357-4a7f-92f8-2531779ef5e7" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
After defining all parameters, click the **Restore** button to start the recovery process. You can monitor the process in the **Tasks** tab.
{% endstep %}
{% endstepper %}
