Recovery Of A Multiple Repository To Git Service Or GitProtect Worker

This article describes a process of restoring multiple repositories at once in GitProtect to any local device or git service assigned to the platform.

Get into restore view

Open the DevOps tab and then click on the Manage & Restore button next to the organization that you want to restore the backup.

In the next step select by checkbox the multiple repositories that you want to restore and click the Restore selected button available on the top action menu.

Select the backup plan and its version

By clicking on individual repositories, a window will appear, where you will be able to select a plan and a backup version to restore.

Restore options

Data to restore

This section allows you to decide whether you want to restore the repository with metadata or without it.

Restore to

That allows you to select the destination of the restore process.

Edit button gives you the possibility to select one of the assigned organizations of any Git service or any device.

The first option - Git Organization allows you to select, to which git service (organization/project) you want to restore your data. You can always restore it to its original location, however, GitProtect also allows you to perform cross-recovery between other git services like GitHub or GitLab.

With the second choice, which is restored to Device you'll have the possibility to select one of the devices assigned to GitProtect as the destination. Right after that, you can select the Restore directory - the specific path on the selected device.

restore the repository to the local device you have to have local Git client installed on this device.

You can restore only repository (without metadata), if you restore the data to the local resources!

Make sure, that the device, to which you want to restore data to has GitProtect Worker installed and the Git client is added to the Path environment variable.

The Path variable should be configured automatically after the Git installation (system restart may be required), but if it isn't, set it as the path to the git.exe file:

C:\Program Files\Git\bin\git.exe

To configure the Path variable, go to the environment variables, select the Path variable and hit the Edit button.

Now copy the git.exe file path and paste it into the Path variable.

A device used to restore the data

This section gives the possibility to choose the device by the Change button, which will be responsible for performing the restoration.

Restore settings

The last section, which may look different depending on your choice(to restore to Git organization or just download the repo), gives you a few additional possibilities.

  • Restore repos with custom name - just toggle the switch to ON and enter a custom name for each of the selected repositories

  • Add suffix to repo name - to avoid conflicts with your actual repositories,

  • Reduce the bandwidth - to limit your network usage, so you can perform the restore task without any interruptions on other tasks.

  • Max concurrent tasks - a number of restore tasks running at the same time(you can limit it in order to avoid any network-related or hardware-related overloads).

To run the task click the Start Now button at the very bottom.

Last updated