2010-07-13 14:20:48 -04:00
|
|
|
GitHub-Backup
|
|
|
|
=============
|
|
|
|
|
2013-07-14 21:41:46 -07:00
|
|
|
Idea/original implementation by Chris Lockfort (clockfort@csh.rit.edu) (Github username: Clockfort)
|
2013-07-14 23:33:13 -04:00
|
|
|
Python version by Anthony Gargiulo (anthony@agargiulo.com) (Github username: agargiulo)
|
2010-07-13 14:20:48 -04:00
|
|
|
|
|
|
|
GitHub-Backup makes a local backup copy of all of a github user's (or github organization's) repositories.
|
|
|
|
|
2010-07-13 14:33:45 -04:00
|
|
|
Usage
|
|
|
|
-----
|
2013-07-14 23:33:13 -04:00
|
|
|
./github-backup.py USERNAME BACKUPDIR [-c|--cron] [-h|--help]
|
2010-07-13 14:33:45 -04:00
|
|
|
|
|
|
|
Then, put it in a cron job somewhere and forget about it for eternity.
|
|
|
|
|
|
|
|
Why This Software Exists
|
|
|
|
-------------------------
|
|
|
|
This software is useful in many cases:
|
2010-07-13 14:26:01 -04:00
|
|
|
|
|
|
|
- GitHub suddenly explodes.
|
|
|
|
|
|
|
|
- GitHub goes out of business.
|
|
|
|
|
|
|
|
- Your corporation's backup policies are more stringent than GitHub's.
|
|
|
|
|
|
|
|
- You have spotty/no internet access - perhaps you'd like to have all of your repositories available to code on while you ride the train?
|
|
|
|
|
|
|
|
- You are paranoid tinfoil-hat wearer who needs to back up everything in triplicate on a variety of outdated tape media.
|
|
|
|
|
2010-07-13 14:20:48 -04:00
|
|
|
|
|
|
|
Questions, Improvements, Etc
|
|
|
|
-----------------------------
|
|
|
|
|
2013-07-14 23:33:13 -04:00
|
|
|
If you have any improvements, I'm happy, (grateful, in fact) to entertain pull requests/patches, just drop me a line or message me on GitHub.
|