Free GitHub Backup, 2 commands (read-only, restore with plain Git)

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 rickball…


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


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » Free GitHub Backup, 2 commands (read-only, restore with plain Git)." Richard Ballard | Sciencx - Thursday November 6, 2025, https://www.scien.cx/2025/11/06/free-github-backup-2-commands-read-only-restore-with-plain-git-2/
HARVARD
Richard Ballard | Sciencx Thursday November 6, 2025 » Free GitHub Backup, 2 commands (read-only, restore with plain Git)., viewed ,<https://www.scien.cx/2025/11/06/free-github-backup-2-commands-read-only-restore-with-plain-git-2/>
VANCOUVER
Richard Ballard | Sciencx - » Free GitHub Backup, 2 commands (read-only, restore with plain Git). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/11/06/free-github-backup-2-commands-read-only-restore-with-plain-git-2/
CHICAGO
" » Free GitHub Backup, 2 commands (read-only, restore with plain Git)." Richard Ballard | Sciencx - Accessed . https://www.scien.cx/2025/11/06/free-github-backup-2-commands-read-only-restore-with-plain-git-2/
IEEE
" » Free GitHub Backup, 2 commands (read-only, restore with plain Git)." Richard Ballard | Sciencx [Online]. Available: https://www.scien.cx/2025/11/06/free-github-backup-2-commands-read-only-restore-with-plain-git-2/. [Accessed: ]
rf:citation
» Free GitHub Backup, 2 commands (read-only, restore with plain Git) | Richard Ballard | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.