Noise

Search
Skip to content
  • Home
  • About

Backing Up Github to Backblaze B2

2018-05-31 Roderick Bauer

Post Syndicated from Roderick Bauer original https://www.backblaze.com/blog/backing-up-github-to-cloud-storage/

Github to B2

Github is the largest host of source code in the world, with over 26 million users and 57 million code repositories. That’s a lot of code.

If you’re using Github, you want to make sure that your hard work isn’t lost. What happens if a repository or gist is removed or changed due to involuntary deletion, a forced push, or you lose metadata information? There are some paid backup services for Github, and the Github Enterprise product includes backup, but what if you don’t use either? What’s the best way to make sure there’s a secure copy of your code in a place other than Github and your local computer?

Our VP of Sales, and inveterate code tinkerer, decided he could tackle this problem, so he forked a Github script to work with our B2 Cloud Storage. The script is below. All you need to do is sign up for a B2 account on our website. The first 10 GB of data on B2 is free, so if your backup is under that size, congratulations, this backup is on us.

Trending
Setting up Zabbix Agent 2 for PostgreSQL monitoring and revealing how it works

The script is on Github at: Complete git repository backup script to Backblaze B2

Credit to Philipp Berner for the script this was based on.

For more information about backing up Github, see Github Help.

Github logo

The post Backing Up Github to Backblaze B2 appeared first on Backblaze Blog | Cloud Storage & Cloud Backup.

ACEADAIAllappATIb2backblazeBacking UpbleblogBSICcicloudCloud StoragecodeComputedataebsecedENSEnterpriseetfirformGitGithubHATICEIDEIPirsMakemetadatamillionmovmoveOtherPAPHIproblemRratrateS.scrsource codestorageThetorUIunUSwebwebsiteWork

Post navigation

Previous PostHow to rotate your Twitter API key and bearer token automatically with AWS Secrets ManagerNext Post[$] Statistics from the 4.17 kernel development cycle

The collective thoughts of the interwebz

Contributors

  • /dev/ttyS0
  • Armed and Dangerous
  • arp242.net
  • AWS Architecture Blog
  • AWS Big Data Blog
  • AWS Compute Blog
  • AWS DevOps Blog
  • AWS Managed Services by Anchor
  • AWS Messaging & Targeting Blog
  • AWS News Blog
  • AWS Security Blog
  • Backblaze Blog | Cloud Storage & Cloud Backup
  • BeardedTinker
  • Bivol.bg
  • Bozho's tech blog
  • Bradley M. Kuhn's Blog ( bkuhn )
  • Crosstalk Solutions
  • Curious Droid
  • Darknet
  • Delian’s Tech blog
  • Devil’s Advocate Security
  • digiblurDIY
  • Engineering – The GitHub Blog
  • Errata Security
  • Explosm.net
  • fuzzy notepad
  • Geographics
  • Grab Tech
  • Grigor Gatchev – A Weblog
  • Home Assistant
  • IBM 360 Model 20 Rescue and Restoration
  • IEEE Spectrum Recent Content full text
  • Joel on Software
  • Kendov.com
  • LastWeekTonight
  • laur.ie's blog
  • lcamtuf’s blog
  • Let's Encrypt – Free SSL/TLS Certificates
  • LGR
  • LWN.net
  • Matt Granger
  • Matthew Garrett
  • Monty says
  • Netflix TechBlog – Medium
  • NTPsec Project Blog
  • Oglaf! — Comics. Often dirty.
  • Pid Eins
  • Prometheus Blog
  • Rapid7 Blog
  • Raspberry Pi Blog – Raspberry Pi
  • Schneier on Security
  • Show Notes
  • Sprites mods
  • Talks at Google
  • Techmoan
  • Technology Connextras
  • The Atlantic
  • The Cloudflare Blog
  • The Codeless Code
  • The History Guy: History Deserves to Be Remembered
  • The Hook Up
  • turnoff.us – geek comic site
  • xkcd.com
  • Yahoo Engineering
  • Yate – Software Defined Mobile Networks
  • Zabbix Blog
  • БЛОГодаря
  • Блогът на Делян Делчев
  • Блогът на Юруков
  • Дневникът на Георги
  • Дни
  • Йовко Ламбрев
  • Како Сийке, не съм от тях!
  • Кътчето на Селин
  • Медийно право
  • Неосъзнато
  • татко Крокодил
  • Тоест

Tags

AD AI All app art ATI AWS BEC ble C CAS ci code Curity data ec ed et Go HAT ICE IP irs iss Make mit NES OSS Other R rat rest ROV RTI S. security sts support ted tor UI un US win Work
Proudly powered by Ants

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close