I’ve hit the point where I don’t trust GitHub but, for right now, it’s still my best option for the projects I host. That means I need a simple and reliable solution to back up my code there. To address this I’ve created a simple Backup GitHub app that does one thing and one thing well: it fully backs up all my GitHub repos, public and private. This script, with few options, has you log into your GitHub account without playing games with access tokens and stores that login in your Mac keychain. It then simply backs up every repo in your account to the current directory (though you can specify another directory with a flag, if you want) and it does it all super fast. That’s it. No fancy bells or whistles… just a simple backup of what matters most: all your GitHub code. You can install it from Homebrew or directly from GitHub and then just run it from the folder you want to backup your repos to. If you run it a second time it will simply update the repos it finds making it perfect for…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.