Skip to main content

A tool for backing up repositories from GitHub organizations

Project description


BIG NOTE: This is a work-in-progress.

A crunchy tool for backing up repositories of multiple specified GitHub organizations.

What does it do?

It will backup all Git repositories it has access to.

What does it not do?

At this moment, it will not back up:

  • Issues
  • Comments
  • Hooks
  • ...

Eventually, backing up of these will be implemented.

How to use?

  1. Set up a GitHub token, with a "repo" scope.
  2. Configure the config.yaml file accordingly.
  3. Set up your running environment either via a virtualenv or distribution packages:
  4. Run gbt -c yourconfig.yaml.


  • Backup abandoned commits in master as a separate branch if commits were pushed to origin forcefully
  • Backup issues
  • Backup hooks
  • Backup information of users, belonging to an organization
  • Configuration: allow for ignoring of certain repositories
  • Brainstorm about more ideas as to what to back up

Project details

Download files

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

Source Distribution

github-backup-tool-0.0.5.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

github_backup_tool-0.0.5-py3-none-any.whl (14.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page