All pages
Powered by GitBook
1 of 5

Loading...

Loading...

Loading...

Loading...

Loading...

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

Integration

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

Required permissions

Account

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

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

    1. All groups and projects.

    2. The container registry.

    3. The package registry.


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

By creating Personal Access Token, you can assign various types of permissions. Below is a list of permissions that will allow you to backup the repository metadata you are interested in in your organization.

read_api - Read permission required to assign an organization to GitLab.

api - Grants complete read/write access to the API, including all groups and projects.

read_repository - it is required to access the list of repositories and to be able to back them up.

write_repository - it is required to access to restore repository.

read_registry - grants read access to a Container Registry images if a project is private and authorization is required.

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.

Personal Access Token (PAT)

GitLab can be integrated with Xopero ONE 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.

Xopero ONE 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

Adding GitLab (cloud) organization to Xopero ONE

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

Using OAuth

1

Log in to XMS, 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

, 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 Xopero ONE access to the specified resources (when prompted).

5

Your GitLab organization has now been successfully added to Xopero ONE. 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 XMS, 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

1

Log in to XMS, 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

When adding an organization, you may be prompted to grant additional permissions to the Xopero ONE application— make sure your browser allows Xopero 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.

Set your authentication method.

  1. In Authentication, select GitLab.

  2. For Connect using, choose OAuth App.

  3. Choose whether Xopero 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

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.

6

Grant Xopero ONE access to the specified resources (when prompted).

7

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

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.

  5. Choose whether Xopero 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

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

Using OAuth (Advanced Mode)

Using Personal Access Token (PAT)

Additional browser permissions

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

Adding GitLab (self-managed) organization to Xopero ONE

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

Using Personal Access Token (PAT)

1

Log in to XMS, 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

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 Xopero ONE access to the specified resources.

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