Recovering multiple repositories

This article describes the process of restoring multiple Bitbucket DC repositories at once in Xopero ONE to any local device or Git service assigned to the platform.

Recovery process

1

Get into the restore view using the following method:

  1. Open the Bitbucket tab (DevOps > Bitbucket), then click the Restore button next to the organization whose backup you want to restore.

  1. Select the repositories you want to restore and click the Restore selected button in the top menu.

2

By clicking an individual repository, an aside will appear where you can select a backup plan and a backup version to restore. Click Select under your chosen backup copies to continue.

3

Select the destination for the restore process. You can choose one of the assigned organizations from any Git service or any device.

4

Choose whether to include metadata in the restore process.

5

Next, select the destination where you want to restore the data.

A. Restore to a Git organization

Git Organization option allows you to choose the Git service (organization or project) where you want to restore your data. You can always restore it to its original location, but Xopero ONE also supports cross-recovery between different Git services, such as GitHub or GitLab.

B. Restore to a device

  1. Select the destination device.

  2. Make sure the device where you want to restore data has the Xopero ONE agent 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

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. Select the directory where you want the data to be restored.

6

In Device used to restore the data section, choose the device that will be responsible for performing the restoration.

7

In the Restore settings, you can configure the following options:

  1. Restore repos with custom name — toggle the switch ON and enter a custom name for each selected repository.

  2. Add suffix to repo name — avoid conflicts with existing repositories by adding an automatic suffix.

  3. Reduce bandwidth — limit network usage to ensure the restore task does not interrupt other operations.

  4. Max concurrent tasks — set the number of restore tasks running simultaneously to prevent network or hardware overload.

8

After defining all parameters, click the Start now button to begin the restore process. When the process is complete, new repositories will be created in your organization account.


Last updated