Restoring a GitLab Repository Group to a Different Repository Hosting Service (Out of Place)

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

  1. From the navigation pane, go to Protect > DevOps.

    The DevOps page appears.

  2. On the GitLab tab, click the GitLab app.

    The GitLab app page appears.

  3. On the Repository groups tab, in the row for the repository group, click the action button action_button, and then click Restore.

    The Backup Content page appears.

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

  5. From the Restore type list, select Out of place.

    Note

    Milestones tagged to the merge requests are not restored.

  6. From the Destination app list, select the app to restore the repository to.

    For example, select an Azure DevOps app.

  7. From the Account type list, select the account type—groups or personal.

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

  9. In the No of streams box, enter the number of streams to use for the restore.

  10. Click Submit.

Loading...