Recovering multiple repositories

Restore multiple Bitbucket repository backup copies at once to a local device or to any Git service integrated with GitProtect.

GitProtect enables multiple Bitbucket repositories recovery, allowing administrators to restore several repositories simultaneously within a selected organization or project scope. The process preserves Git history, branches, tags, and supported metadata, ensuring data integrity and consistency across the restored resources.


Recovery process

The below steps demonstrate how to restore multiple Bitbucket repositories at once using GitProtect Management Service.

1

Get into the restore view using the following method:

  1. Open the Bitbucket tab (DevOps > Bitbucket), then click the Explore button next to the organization whose backup you want to restore (explore icon in list view).

  2. Select all repositories you want to restore and click Restore in the top menu.

2

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

circle-info

By default, the latest backup is always selected, regardless of the plan.

3

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

4

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

circle-check
circle-exclamation
5

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

circle-exclamation
6

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

Restore to a Git organization:

  1. Select the target organization, then select or create a new project (where applicable).

  2. In Restore settings, you can set custom names for all repositories 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 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.

7

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