Recovering multiple repositories

In this article, you will learn how to restore multiple repositories to a Git service or localhost.

Recovery process

1

Get into the restore view using the following method:

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

  2. 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 backup.

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 Bitbucket or GitHub.

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

When you toggle Restoring repos with custom name switch, a window will appear allowing you to rename one or more repositories.

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.

  1. Additionally, in the Restore settings, you can limit bandwidth usage during the recovery process.

6

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

7

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