> 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/devops/azure-devops-and-devops-server/backup/creating-a-backup-plan.md).

# Creating a backup plan

This article contains information on how to set up Azure DevOps & DevOps Server backup plan.

#### Creating an Azure DevOps (or DevOps Server) backup plan ensures your projects and data are securely protected and easily restorable.

***

## 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&amp;token=12e34baf-344f-4a72-9a2e-2a38e452d608" alt="" data-size="original"> **Add plan** button in the top bar.
{% endstep %}

{% step %}
Select **Azure DevOps** from the list.
{% endstep %}

{% step %}
Select (or add) the **Azure DevOps** or **DevOps Server** environment you want to include in the backup process, and choose the repositories to back up.

{% hint style="success" %}
**GitProtect** allows you to protect the entire **Azure DevOps** environment.
{% endhint %}

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FXjtyoqdg2cm7Adsl7ckI%2Fazureprotecc.png?alt=media&amp;token=4f754bc4-efd2-43d2-8dc5-4cc11229b8b7" alt=""><figcaption></figcaption></figure>

1. **Protect all** — protects an entire **Azure DevOps** organization.
2. **Select projects** — allows you to protect selected **Azure DevOps** projects (including its metadata).
3. **Select repositories** — protects only **selected repositories**.
4. **Set rules** — lets you set rules for **GitProtect** to automatically select resources to protect.
   {% endstep %}

{% step %}
Specify a name for the backup plan.
{% endstep %}

{% step %}
Select the appropriate metadata that you want to back up. 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%2FUzcTnkWNNsHLFTagnv6l%2Fimage.png?alt=media&amp;token=10b3352e-a4d9-49bf-8a9f-850c8dba4985" alt=""><figcaption></figcaption></figure>

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FNbU2y5bSRscioCV8JY5c%2Fimage.png?alt=media&amp;token=3e67a35d-aa0d-4724-a94b-929fb02274cd" 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&amp;token=b213ac2d-499b-408d-bebe-f4eb277f8b8d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Customize the scheduler and specify how long your data should be retained. If needed, adjust the advanced settings to suit your needs.

<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&amp;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%2FfccphQGBv08b9HBxBiKU%2Fimage.png?alt=media&amp;token=83dd6d40-2003-4ced-ac8b-774cd1c54f1b" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

***

## Useful links and items

{% content-ref url="/pages/D9j2y4b4l51BnBsEIyA5" %}
[Cloud storage](/storage/cloud-storage.md)
{% endcontent-ref %}

{% content-ref url="/pages/AWu8w4uJUkVdjFTGajr0" %}
[GitProtect worker](/deployment-and-configuration/gitprotect-worker.md)
{% endcontent-ref %}

{% content-ref url="/pages/9AZUD1hXe2mvU7ncAHPz" %}
[Scheduler & retention](/management/scheduler-and-retention.md)
{% endcontent-ref %}
