Skip to content
A Python script that can continuously back up all your GitHub repos
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests/features
README.markdown
github_backup.py

README.markdown

github-backup

Backs up all your GitHub repositories.

Usage:

./github_backup.py github_user_name ./backup

You can run it as a cron job:

@hourly /home/user/github_backup.py user /home/user/github_backup

TODO:

  1. Add support for other sites (BitBucket, Google Code etc.)
  2. Make it resistant to remote branch deletion or history rewriting
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.