#github #backup #backup-utility #git-repository #git-clone #blazingly #parallel

app gh-backup

Blazingly fast tool to backup a GitHub organisation

3 releases

0.1.2 Apr 26, 2024
0.1.1 Apr 26, 2024
0.1.0 Nov 26, 2022

#887 in Filesystem

Download history 2/week @ 2024-09-24

79 downloads per month

MIT/Apache

14KB
213 lines

gh-backup

Blazingly fast tool to backup a GitHub organisation

This tool creates a backup for a GitHub organisation. It clones the repositories if they do not exist in the backup. If they already exist, it executes a git fetch.

The tool will perform clones and fetches in parallel. Downloading a 10GB GitHub organisation takes only 2 minutes.

Install

cargo install gh-backup

Usage

export GH_TOKEN=ghp_
gh-backup some_org_xyz

Building

cargo build

Dependencies

~14–26MB
~432K SLoC