#github #backup #repository #git-repository #backup-utility #clone #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

#200 in Filesystem

Download history 13/week @ 2024-02-24 2/week @ 2024-03-02 16/week @ 2024-03-30 5/week @ 2024-04-06 152/week @ 2024-04-20 81/week @ 2024-04-27 6/week @ 2024-05-04

239 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
~450K SLoC