Single project recovery

This article explains the project backup recovery process for Azure DevOps and Azure DevOps Server.

GitProtect enables single project recovery for Azure DevOps, allowing organizations to restore individual projects along with their selected metadata, ensuring data integrity and consistency while minimizing disruption to other projects and repositories.


Recovery process

The below steps demonstrate how to quickly restore a single Azure DevOps project using GitProtect Management Service.

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 Explore button next to the organization whose backup you want to restore (explore icon in list view).

  2. In the Projects & repositories tab, search for the project you want to restore, then click the restore icon in the action menu of that project.

2

Select the backup plan from which you want to restore data. Click the drop-down under Backup plans section and choose one of the plans from the list.

3

Choose the backup version from all the backups that have already been performed — select the desired date and click the Restore button.

4

Select the destination for the recovery and click Next.

circle-info

You can choose any device or organization registered in GitProtect (you can find more information about cross-recovery in Useful links and items section).

5

Select the available metadata to restore and click Restore selected or Restore all to proceed.

circle-check
circle-info

The available data to restore depends on the restoration destination.

6

In the Data to restore section at the top, you can select which of the previously chosen available data you want to restore, if needed.

7

In the Restore to section, you can change the previously selected recovery destination if needed.

8

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

circle-exclamation
9

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

Restore to a Git organization:

  1. Select the target organization (where applicable).

  2. If you are restoring your project to Azure DevOps or DevOps Server organization:

    1. Set a unique, custom name for the project in Restore settings (or use the custom name automatically generated by GitProtect).

    2. 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, all of project's protected repositories are restored, 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, GitHub), you can set custom names for all repositories in the project or add a suffix to the original repository names. You can also choose whether to add a label to the restored elements (where applicable).

triangle-exclamation
  1. Adjust the bandwidth settings.

  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 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, you will have to configure it manually.

circle-info

To configure the PATH variable in Windows, 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.

10

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


downloadGitProtect workerchevron-rightCross-recovery for DevOps organizationschevron-rightLFS recovery for DevOps organizationschevron-rightWiki recovery for DevOps organizationschevron-rightgauge-maxThrottling preventionchevron-right

Last updated