gh-backup

Crates.iogh-backup
lib.rsgh-backup
version0.1.2
sourcesrc
created_at2022-11-26 16:57:22.690495
updated_at2024-04-26 09:44:49.687217
descriptionBlazingly fast tool to backup a GitHub organisation
homepage
repository
max_upload_size
id723356
size48,519
Max Ammann (maxammann)

documentation

README

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
Commit count: 0

cargo fmt