Hacker News new | ask | show | jobs
by davidgerard 3617 days 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 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?

1 comments

You 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

Sounds 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 :-(