All pages
Powered by GitBook
1 of 5

Loading...

Loading...

Loading...

Loading...

Loading...

Integration

Cover
Required permissions
Cover
Rate limits
Cover
Adding GitLab (cloud) organization to GitProtect
Cover
Adding GitLab (self-managed) organization to GitProtect

Rate limits

Rate limits are implemented to ensure the stability and security of the system, as excessive requests could overload or destabilize the application. For detailed information on GitLab rate limits, refer to the official GitLab documentation.

Adding GitLab (self-managed) organization to GitProtect

This article explains how to add a GitLab (self-managed) organization to GitProtect.

Using Personal Access Token (PAT)

1

Log in to GitProtect Management Service, open the DevOps tab on the left side of the window, and select GitLab from the list.

2

Click the Connect button under GitLab Self-managed.

3

Set your authentication method.

  1. In Authentication, select GitLab Self-Managed.

  2. In Settings, enter your GitLab service IP address.

  3. Add or select PAT from the Password Manager.

  4. Choose whether

4

Configure your repository sync and default worker. Specify hours for synchronization, or set a time interval for automatic updates.

5

Click Proceed to complete adding your GitLab (self-managed) organization and grant GitProtect access to the specified resources.

Adding GitLab (cloud) organization to GitProtect

This article explains how to add a GitLab (cloud) organization to the GitProtect platform to protect repositories or restore existing backups.

1

Log in to GitProtect Management Service, open the DevOps tab on the left side of the window, and select GitLab from the list.

2

Click the Connect button under GitLab.

3
GitProtect
should automatically add new repositories to your backup and whether it should include
GitLab
groups in the backup.

In the window that pops-up, log in with a user account which has the required permissions for the repositories or projects to protect. If your GitLab login session is active in a different tab, the login will complete automatically.

4

Grant GitProtect access to the specified resources (when prompted).

5

Your GitLab organization has now been successfully added to GitProtect. Click Custom policy to adjust your backup policy settings, or click Run backup to execute the backup immediately using the current policy configuration.


1

Log in to GitProtect Management Service, open the DevOps tab on the left side of the window, and select GitLab from the list.

2

Click the advanced mode link under GitLab and GitLab Self-managed tiles.

3

Set your authentication method.

  1. In Authentication, select GitLab.

  2. For Connect using, choose OAuth App.

  3. Choose whether GitProtect should automatically add new repositories to your backup and whether it should include GitLab groups in the backup.

4

Configure your repository sync and default worker. Specify hours for synchronization, or set a time interval for automatic updates.

5

, log in with a user account which has the required permissions for the repositories or projects to protect. If your GitLab login session is active in a different tab, the login will complete automatically.

6

Grant GitProtect access to the specified resources (when prompted).

7

Your GitLab organization has now been successfully added to GitProtect. Click Customize policy to adjust your backup policy settings, or click Run now to execute the backup immediately using the current policy configuration.


1

Log in to GitProtect Management Service, open the DevOps tab on the left side of the window, and select GitLab from the list.

2

Click the advanced mode link under GitLab and GitLab Self-managed tiles.

3

Set your authentication method.

  1. In Authentication, select GitLab.

  2. For Connect using, choose Login and Personal Access Token.

  3. Enter your username or email.

  4. Add or select PAT from the Password Manager.

4

Configure your repository sync and default worker. Specify hours for synchronization, or set a time interval for automatic updates.

5

Click Proceed to complete adding your GitLab organization and grant GitProtect access to the specified resources.


When adding an organization, you may be prompted to grant additional permissions to the GitProtect application—make sure your browser allows GitProtect to open pop-up windows.

Depending on your browser, you can either adjust the settings to allow pop-ups or permit the authorization window to open once.

Using OAuth

Using OAuth (Advanced Mode)

Using Personal Access Token (PAT)

Additional browser permissions

Required permissions

To log in to your account, GitProtect requires the following permissions:

  1. Access the authenticated user’s API — GitProtect needs read and write access to the API, including:

    1. All groups and projects.

    2. The container registry.

Choose whether GitProtect should automatically add new repositories to your backup and whether it should include GitLab groups in the backup.

In the window that pops-up
Mozilla pop-up allowance

The package registry.


The following permissions are the minimum needed to register the GitProtect application in your account and access repositories:

By creating a personal access token, you can assign different types of permissions. The following permissions allow you to back up the repository metadata in your organization:

  • read_api — required to assign an organization to GitLab.

  • api — grants full read/write access to the API, including all groups and projects.

  • read_repository — required to access the list of repositories and perform backups.

  • write_repository — required to restore a repository.

  • read_registry — grants read access to Container Registry images when a project is private and authorization is required.

Account

Personal Access Token (PAT)

GitLab can be integrated with GitProtect using a personal access token not only for a regular GitLab user account but also for a service account that is a member of the project. The access requirements are the same as for a regular user account; however, the service account must also have at least the maintainer role.

GitProtect supports legacy tokens; for proper system operation, it is recommended to use them instead of fine-grained tokens.

With minimal privileges, some metadata (such as issues) may not be included in the backup. Select the necessary permissions based on the data you need to protect—if you grant only read permissions, backups can be performed, but restoring data will require a new token or password with write permissions.

For more information about personal access tokens, visit .

the official GitLab website