1. seth
  2. bitbucket-backup

Source

bitbucket-backup /

Filename Size Date modified Message
20 B
Port to Python.
336 B
Added tag v0.6.0 for changeset f1676745bbfe
738 B
2015
1.0 KB
Port to Python.
4.8 KB
Port to Python.

Bitbucket Backup

A command line tool for backing up Bitbucket repositories.

Prerequisites

To backup your repositories you must have the SCM tools your repositories use on your PATH.

Usage

$ ./backup.py [options] ~/backup

See the help prompt for more info:

$ ./backup.py -h

Config files

You can provide a config file to via the --config or -c option.

The config file must be valid JSON.

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 repository 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

ISC