# Creating a 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 **Xopero ONE Management Service**, open the **Plans** > **Backup** tab and click the <img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FG60IcZIZSkSASo1Tgv0I%2Fimage.png?alt=media&#x26;token=a71e483f-b35f-4096-b430-3baf005fbf4c" 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" %}
**Xopero ONE** allows you to protect the entire **Azure DevOps** environment.
{% endhint %}

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FVCaryyEBqCKf0pbIcpfc%2Fimage.png?alt=media&#x26;token=fe7207c6-ddba-47d8-b0ee-501f5faed06d" 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 **Xopero ONE** 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://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F3qNqRrCd9tFYi99Woe4X%2Fmetadataazuredev.png?alt=media&#x26;token=7a90dbba-fa4f-405d-ba9b-d8ab7b438f11" alt=""><figcaption></figcaption></figure>

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2F0zrlx3Bq1ecMDm04OLKl%2Fmetadataazuredev2.png?alt=media&#x26;token=41a6e655-eea1-495c-9bb5-33212f61051a" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FhATeIpLGTmMYFtosDBbe%2Fimage.png?alt=media&#x26;token=2b34310d-9818-4149-9a6d-538cc9cb5b0a" 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://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FWBzkgKREflmuntsVfbU3%2Fimage.png?alt=media&#x26;token=c39f8da0-e6fe-4dfe-beef-f29a8db5b711" 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://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FfOf8At5ni1Ehp82IYM36%2Fimage.png?alt=media&#x26;token=55316ef1-25a9-40f8-ac28-d524ca7e0213" 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="../../../../storage/cloud-storage" %}
[cloud-storage](https://helpcenter.xopero.com/xopero-one-en/storage/cloud-storage)
{% endcontent-ref %}

{% content-ref url="../../../../deployment-and-configuration/xopero-one-agent" %}
[xopero-one-agent](https://helpcenter.xopero.com/xopero-one-en/deployment-and-configuration/xopero-one-agent)
{% endcontent-ref %}

{% content-ref url="../../../../management/scheduler-and-retention" %}
[scheduler-and-retention](https://helpcenter.xopero.com/xopero-one-en/management/scheduler-and-retention)
{% endcontent-ref %}
