Skip to main content

A tool for backing up repositories from GitHub organizations

Project description

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

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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file github-backup-tool-0.0.5.tar.gz.

File metadata

  • Download URL: github-backup-tool-0.0.5.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

File hashes

Hashes for github-backup-tool-0.0.5.tar.gz
Algorithm Hash digest
SHA256 899bafed26146e293356f7a24df04e405309d6dc96acb2daaeaed06408d99503
MD5 ad4150b4b5077864adc86bea361b197a
BLAKE2b-256 e4dce208fe71fe8f99fbfcbc5c92ae54b3617c9ef1dbc2a8cf6e79b0a6c183f1

See more details on using hashes here.

File details

Details for the file github_backup_tool-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: github_backup_tool-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

File hashes

Hashes for github_backup_tool-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cc12777f08c6684dc9bdb64ecf40f07ac5042cf4a9e2da32ec7b21c74ef268d6
MD5 9932f5782de61bdf614ea1c263c8a186
BLAKE2b-256 4c8d1194f687f631848b1861d545d59f800c9b7128575ea45d9287074a15946a

See more details on using hashes here.

Supported by

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