4 ms·
Has anyone got a good Github backup script that's actually robust? Something that will reliably go through all your company private repos and clone the lot. I'v
by davidgerard 10y ago
Has anyone got a good Github backup script that's actually robust? Something that will reliably go through all your company private repos and clone the lot. I've found a few, but they're all clunky and in serious need of adaptation. (e.g. https://gist.github.com/rodw/3073987 https://gist.github.com/rodw/3073987 which is the best I've found so far.)
Hard part appears to be finding one that does an organisation account well, not just a user.
What are other people here actually using?
- 0xmohit 10y agoYou could try github-backup [0]. Quoting from the description: It backs up everything GitHub publishes about the repository, including branches, tags, other forks, issues, comments, wikis, milestones, pull requests, watchers, and stars. And did I mention that it's written in Haskell! [0] https://github.com/joeyh/github-backup https://github.com/joeyh/github-backup
- davidgerard 10y agoSounds good :-) Are you actually using it? What's your experience using it to try to back up an organisation account? edit: "github-backup does not log into GitHub, so it cannot backup private repositories." So, looks like that won't do it for us, sorry :-(