Skip to content

A command-line tool for backing up repositories from GitLab instances

License

Notifications You must be signed in to change notification settings

kleinmann/gitlab-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A command-line tool for backing up repositories from GitLab instances

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages