Lurker News
Hello friends,

I'm a Full Stack Developer from India. I'm a maintainer at Gatsby, Open Sauced and Triager at ExpressJS, Nest.land, JSHttp etc. I use GitHub a lot, but recently my account got suspended midnight without any notice, From my knowledge I haven't spammed GitHub, I review 3 - 6 PRs in Gatsby per day, It's been a week without GitHub, I have three sponsors in GitHub, they are asking me tons of questions and one of my sponsor stopped sponsoring me (my payout balance got reduced). All of my office work got stopped, I'm the admin of the org that is used in our company. All employees now don't have access to the repo because it is returning 404. I got support from lot of people in Twitter but GitHub is not responding to my ticket for a week. I also created a petition is change.org https://www.change.org/p/github-inc-my-github-account-suspen... some people supported me over there too. It would be great if GitHub unsuspends me.
My support ticket number: 763327
GitHub Profile: https://github.com/yg
Save Open source developers!
Hope Nat Friedman and GitHub will see this!

Comments (263) 47 threads

Show all comments

Showing thread 17 of 47

smoothgrammer1 reply#
Always do a periodic full off-site cold backup of all your GitHub repos. It's very easy to script and should compress down very small.
the_svd_doctor5 replies#
Is there an easy way to do that ? Some script available somewhere ?
blocked_again2 replies#
You can write a simple GitHub action that pushes your repo to GitLab/BitBucket etc every 30 minutes or something.
rajesh-s1 reply#
Do you know an example of this?

Continue this thread — 1 reply

gitgud#
Probably better to have the action run on every push to master, no point running it every 30 mins if it hasn't been updated in months...
tworingsoft#
I have a script [0] that almost does this, but currently only downloads forks. Could easily be modified to work on all types of repos. Maybe one day I'll get around to doing that myself, hopefully before any spurious lockouts... but then again I usually create the repo locally first and push to GH later, so I should have all my repos already.

Also this only does the initial cloning, I still need to implement pulling down new commits.
But, the majority of the boilerplate is taken care of, like for authenticating to their API.
PRs welcome! And don't forget to fork it ;)
[0]: https://github.com/TwoRingSoft/tools/blob/master/bin/sync-fo...

maxlaumeister#
I found that Clockfort's Github-Backup is good for downloading an account's repositories en masse. It only supports repos though, and not metadata like issues, comments, wikis, pull requests, etc.

https://github.com/clockfort/GitHub-Backup