README.md

Gitlab All Repos Export

Export all projects of GitLab instance. Useful for backup/migration purposes.

Alternatives

https://gitlab.com/gitlab-org/cli

Requirements

  • git
  • jq
  • curl

Usage

Copy .env.example to .evn

Configure variables:

GITLAB_TOKEN=
GITLAB_URL=
BACKUP_DIR=

Run script:

./do_backup.sh

Personal token

GITLAB_TOKEN= is a personal user token. It is created in gitlab UI: User Settings / Access Tokens. Token must have read_api scope enabled.

Описание

Экспорт/бэкап всех репозиториев из gitlab.

Конвейеры
0 успешных
0 с ошибкой