You can restore a GitLab repository group out of place to a different repository hosting service, such as Azure DevOps.
Caution
All repository data in the destination location is overwritten by the restored data.
Review the following considerations for out-of-place restores:
-
If the repository is present, then the name, description, and visibility are not modified.
-
If the repository is not present, a new repository is created with the same name, description, and visibility as the source repository.
Procedure
-
From the navigation pane, go to Protect > DevOps.
The DevOps page appears.
-
On the GitLab tab, click the GitLab app.
The GitLab app page appears.
-
On the Repository groups tab, in the row for the repository group, click the action button
, and then click Restore.
The Backup Content page appears.
-
Select the content to restore, and then click Restore.
You can select the entire organization or the individual repositories.
The Restore options dialog box appears.
-
From the Restore type list, select Out of place.
Note
Milestones tagged to the merge requests are not restored.
-
From the Destination app list, select the app to restore the repository to.
For example, select an Azure DevOps app.
-
From the Account type list, select the account type—groups or personal.
-
Select one of the following:
-
If you select Azure DevOps, complete the following steps:
a. In Account name, enter the destination account name.
b. In Project name, enter the destination project name.
-
If you select GitHub, complete the following steps:
a. If you are restoring to a business account, enter the name of the business account. If you are restoring to a user account, enter the name of the user account.
-
-
In the No of streams box, enter the number of streams to use for the restore.
-
Click Submit.