Source

bitbucket-backup / README.md

Full commit

Bitbucket Backup

A command line tool for backing up Bitbucket repos.

Prerequisites

To backup your repos you must have the Mercurial and/or the Git binaries on your path.

Installation

$ gem install bitbucket-backup

Usage

$ bitbucket-backup [options] /path/to/backupdir

See the help prompt for more info:

$ bitbucket-backup -h

Config files

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

The username, password and all_repos settings will be read from the config file.

For example to backup every repo the user example has access to put the following in a config file and pass it to bitbucket-backup:

username: example
password: example
all_repos: true

License

See the LICENSE file.