Recovering multiple projects

This article explains the backup recovery process for multiple projects and repositories in Azure DevOps & DevOps Server.

Recovering multiple Azure DevOps and DevOps Server projects lets you quickly restore selected projects, repositories, and code at scale, ensuring consistent and reliable recovery across your development environment.


Recovery process

triangle-exclamation
triangle-exclamation
1

Get into the restore view using the following method:

  1. 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).

circle-check
  1. Go to Projects & repositories tab, then select all projects you want to restore.

2

Click every chosen project to select the backup plan and copy from which you want to restore data, then click Next.

3

Select the destination for the recovery and click Next.

circle-info

You can choose any device or organization registered in GitProtect.

4

In Data to restore section at the top, click Edit and select data you want to restore.

circle-check
5

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

6

Configure the recovery destination settings, depending on where the backup will be restored.

Restore to a Git organization

  1. Select the target organization.

  2. In Restore settings, set custom names for all repositories in the project or add a suffix to the original repository names.

triangle-exclamation
  1. If you are restoring your project to the Azure DevOps or DevOps Server organization:

    1. Choose whether to restore repositories from the project's copy:

      1. When the Restore repositories from this project's copy switch is turned off during the restore process, along with the project, all of its protected repositories are restored. This applies regardless of whether the repositories were protected by the same plan or by different plans. The latest available backups are used.

      2. When the switch is turned on, a different restore mechanism is applied. In this case, only repositories backed up by the same plan as the project are restored.

triangle-exclamation
  1. If you are restoring your project to a different Git organization than the original (for example, Bitbucket, GitLab, etc.), you have to set custom names for all repositories in the project or add a suffix to the original repository names.

triangle-exclamation
  1. Adjust the bandwidth and other available settings, depending on the recovery destination.

  2. Check which worker is set as the default for recovery and change it if necessary.

Restore to a device

circle-exclamation
triangle-exclamation
  1. Select the destination device (a registered device).

  2. 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.exe
circle-info

To 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.

  1. 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.

7

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