Personal Access Token in GitLab

Permissions required to backup selected repository metadata

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.

Remember that if you grant only read permissions, it will be possible to perform a backup, but to restore them, you will have to generate a new token with write permissions.

For more information on Personal Access Token, visit the GitLab site:

Last updated