0.0
No commit activity in last 3 years
No release in over 3 years
A tool to backup GitLab repositories to your local machine.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0
~> 4.0
~> 3.2
~> 0.8
 Project Readme

GitLab Backup

A command line tool for backing up GitLab repositories.

Prerequisites

To backup your repositories you must have the git on your PATH.

Installation

$ gem install gitlab-backup

Usage

$ gitlab-backup [options] ~/backup

See the help prompt for more info:

$ gitlab-backup --help

Config files

You can provide a config file in the YAML format to gitlab-backup via the --config or -c option. Settings specified on the command line have precedence over settings in the config file.

The host and token settings will be read from the config file.

For example to backup every repository the user with the token example has access to put the following in a config file and pass it to gitlab-backup:

host: https://gitlab.com
token: example

License

ISC

Thanks

This project is based on the previous work of Seth Jackson for bitbucket-backup.