# Creating a backup plan

## Backup plan setup <a href="#backup_plan_creation" id="backup_plan_creation"></a>

{% stepper %}
{% step %}
Login to **GitProtect Management Service**, open the **Plans** > **Backup** tab and click the <img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FXOrMarFFkkIrT5QTnvx1%2Fimage.png?alt=media&#x26;token=12e34baf-344f-4a72-9a2e-2a38e452d608" alt="" data-size="original"> **Add plan** button in the top bar.
{% endstep %}

{% step %}
Select **Microsoft 365** from the list.
{% endstep %}

{% step %}
Specify a name for the backup plan. Select the **Microsoft 365** environment you want to include in the backup process, and choose the users to back up.

{% hint style="success" %}
**GitProtect** supports **Microsoft 365** groups — they appear in the users list and can be used to filter that list, **including when creating a backup plan**. To access the groups field in **GitProtect**, you must re-register your **Microsoft 365** organization.
{% endhint %}
{% endstep %}

{% step %}
Choose the data you want to protect. Here, you can also change the **default worker**, which is the device directly responsible for the backup process of your repositories.

{% hint style="success" %}
You can have multiple workers and assign different workers to each backup plan.
{% endhint %}

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FhFTWQmhgHNAiVzZHgVCZ%2Fimage.png?alt=media&#x26;token=44971aac-107e-4cc6-9290-34c30ec6f226" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select one of the locations assigned to your **GitProtect** instance as storage.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FZJbD7oJaA4iTOGyMvRvd%2Fimage.png?alt=media&#x26;token=b213ac2d-499b-408d-bebe-f4eb277f8b8d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Customize the scheduler and specify how long your data should be retained.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fy2Mytfe6RTwYwk2RZys6%2Fimage.png?alt=media&#x26;token=8c7ffe26-61e7-4c61-90c7-88cf82536786" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
If necessary, adjust the advanced settings such as encryption, error handling, or bandwidth limits to fit your requirements.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FRX5Bd3ZY2L9JEICWEUsy%2Fimage.png?alt=media&#x26;token=5f1f1d5c-23f1-45f7-972a-f730c62c3d75" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Double-check your data and click **Save** to create the backup plan.
{% endstep %}
{% endstepper %}
