# Recovering teams

## Overview

When restoring repositories, one type of metadata that can be restored is **teams**. **Xopero ONE** ensures that **teams** and their associated users are reinstated.

{% hint style="warning" %}
This process may include sending invitations for users to rejoin the organization.
{% endhint %}

Before starting the restoration process, a prompt will inform you of this action—accepting the prompt will restore **teams** and send invitations as needed. Canceling the prompt will exclude **teams** from the restoration process.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fo1Blhxk9HRQh7R1fXhOj%2Fimage.png?alt=media&#x26;token=518fe03d-55d0-4c9e-bbc2-ed39b6359003" alt=""><figcaption></figcaption></figure>

***

## Limitations

The maximum number of external collaborators that can be restored for a single repository in one operation is limited to **50**. This restriction is due to **GitHub** **API** limitations, which define how many collaborators can be processed in a single batch. This constraint is independent of **Xopero ONE** and cannot be bypassed by the backup solution.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fby5IXp3zZk9q6HjACFCC%2Fimage.png?alt=media&#x26;token=4ac1f184-6514-43d1-800b-2330a0ff9ed7" alt=""><figcaption></figcaption></figure>

***

## Useful links and items

{% embed url="<https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28#add-a-repository-collaborator>" %}
