This content originally appeared on DEV Community and was authored by Richard Ballard
If your DR plan still says “hope we never need it,” here’s a 2-command seatbelt.
What it does
- Creates Git-native read-only mirrors (
*.git) - Zero telemetry
- Restores with plain Git (no tool required)
Quickstart
pwsh
gh extension install rickballard/gh-rz
gh rz -User $(gh api user --jq .login) -OutDir "$HOME/Desktop/GitHubRepoBackups"
Restore without the tool
The backup folder includes RESTORE.md and RESTORE.ps1. You can git clone --mirror or recreate repos in a clean org and push --mirror.
Get it: [Latest Release](https://github.com/rickballard/gh-rz/releases/latest) [Source](https://github.com/rickballard/gh-rz)
Ethics (voluntary)
[No crowns, no coercion, no corruption
](https://github.com/rickballard/gh-rz/blob/master/ETHICS.md)
Tell me what hurts in your DR runbooks and I’ll prioritize fixes that help most teams. Free gift, no strings attached, be nice.
This content originally appeared on DEV Community and was authored by Richard Ballard
Richard Ballard | Sciencx (2025-11-06T00:50:13+00:00) Free GitHub Backup, 2 commands (read-only, restore with plain Git). Retrieved from https://www.scien.cx/2025/11/06/free-github-backup-2-commands-read-only-restore-with-plain-git-2/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.