Skip to content

bitsbeats/github-backup-tool

Repository files navigation

github-backup-tool

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.

TODOs:

  • 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

About

A crunchy GitHub backup tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages