Recovering multiple repositories
This article explains the backup recovery process for multiple repositories in Azure DevOps & DevOps Server.
Recovering multiple Azure DevOps and Azure DevOps Server repositories allows you to quickly restore selected repositories, ensuring consistent and reliable recovery across your development environment.
Recovery process
Get into the restore view using the following method:
Open the Azure DevOps tab (DevOps > Azure DevOps), then click the Restore button next to the organization whose backup you want to restore (recover
icon in list view).
You can also use the Explore button to restore your data.
Go to Repositories tab, then select all repositories you want to restore.

Click every chosen repository to select the backup plan and copy from which you want to restore data, then click Next.
Select the destination for the recovery and click Next.

In Data to restore section at the top, click Edit and select data you want to restore.
GitProtect allows you to select specific metadata to restore — each element can be included or excluded by toggling the switch next to it.

In the Throttling prevention section, you can add additional Azure DevOps accounts to avoid throttling.

Configure the recovery destination settings, depending on where the backup will be restored.
Restore to a Git organization:
Select the target organization, then select or create a new project (where applicable).
In Restore settings, set custom names for all repositories or add a suffix to the original repository names.
Restoring never overwrites existing repositories in the organization — if you do not choose a repository name, or if you enter the name of a repository that already exists in your organization, the restore will fail. To complete the restoration successfully, you must choose a unique repository name or select the Add suffix to repo name option so the restored repository keeps its original name with an automatically generated suffix.
Adjust the bandwidth and other available settings, depending on the recovery destination.
Check which worker is set as the default for recovery and change it if necessary.

Restore to a device
To restore a repository to a local device, you must have a Git client installed on that device.
You can restore only the repository (without metadata) when restoring data to local resources.
Select the destination device (a registered device).
Make sure the device where you want to restore data has the GitProtect worker installed and the Git client added to the PATH environment variable. The PATH variable is usually configured automatically after Git installation (a system restart may be required). If it isn’t, set it manually to the path of the git.exe file:
C:\Program Files\Git\bin\git.exeTo configure the PATH variable, open the environment variables, select the PATH variable, and click the Edit button. Copy the path to the git.exe file and add it to the PATH variable.
Specify the restoration directory and configure other options (for example, whether to overwrite existing data or reduce bandwidth). If needed, you can create a new restoration folder on the selected drive from the Management Service level.

After defining all parameters, click the Restore button to begin the recovery process. When the process is complete, a new repository/folder will be created in your organization account/local device. You can monitor the restoration process in the Tasks tab.
Last updated

