# Creating a backup plan for a group

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

{% stepper %}
{% step %}
Login to [**XMS**](#user-content-fn-1)[^1], open the **Plans** > **Backup** tab and click the <img src="/files/cP3ARjuLWqJ9T4N5H2Cb" alt="" data-size="original"> **Add plan** button in the top bar.
{% endstep %}

{% step %}
Select **GitLab** from the list, and then click **Groups** in the next aside.

<figure><img src="/files/uuDktBascoPEZILJr6bN" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Add or select the **GitLab** groups you want to add to your plan.
{% 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" %}
Information about groups and subgroups is included in the backup by default.
{% endhint %}

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

{% hint style="info" %}
It is worth noting that the **cloud worker** (a cloud-installed **Xopero ONE** worker) allows you to perform cloud-to-cloud backups if you want to store your backups in the cloud.
{% endhint %}

<figure><img src="/files/qW3HKkLa85B7wKDNnGgE" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="/files/nPdEJSv4GBrdZezw4NKg" 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="/files/KF8R8x8N9JauVJ2Y9nM0" 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="/files/oRpojLSXGWuUUdyPE1XN" 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/fASS7gF644OXlxNTKatT" %}
[Cloud storage](/xopero-one-en/storage/cloud-storage.md)
{% endcontent-ref %}

{% content-ref url="/pages/Ekfjl1LObG4kYTtmU0jp" %}
[Xopero ONE worker](/xopero-one-en/deployment-and-configuration/xopero-one-worker.md)
{% endcontent-ref %}

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

[^1]: Xopero ONE Management Service


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpcenter.xopero.com/xopero-one-en/backup-and-recovery/devops/gitlab/backup/creating-a-backup-plan-for-a-group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
