Skip to main content

Commands to migrate repositories between GitLab servers

Project description

gitlab-migrate

Migration utility for GitLab servers

Usage

Preparation

  1. Get private token from source GitLab instance
  2. Get private token from destination GitLab instance
  3. Create a configuration file (see examples/)
  4. Run one of the commands below

Information

gitlab-migrate-info config.yml --output-file=repos_src.csv
gitlab-migrate-info config.yml --output-file=repos_dst.csv --server=destination

Migration

# testing
gitlab-migrate config.yml --noop

# migration
gitlab-migrate config.yml

Development

git clone https://github.com/kreczko/gitlab-migrate.git
cd gitlab-migrate
pip install -U -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gitlab-migrate, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size gitlab-migrate-0.1.6.tar.gz (9.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page