> 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/github/recovery/recovering-teams.md).

# Recovering teams

## Overview

When restoring repositories, one type of metadata that can be restored is **teams**. **GitProtect** 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="/files/gtCVfzwy2rfDqnB2Igis" 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 **GitProtect** and cannot be bypassed by the backup solution.

<figure><img src="/files/9GD2zVltLMem0IBMhUAB" 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>" %}
