top of page
Search
neil0064

Backup or Go Home

We just had a major catastrophe 😱

On attempting to take the SD card out of the Raspberry Pi, it was a bit tight so I used a pair of pliers. Bad move, I managed to crack the card and now it’s unreadable and we’ve lost everything on it. Eek!


Recovery

Luckily we’re using GitHub to store all of our code, so what we actually lost was pretty small. I would recommend this to everyone and it's free to use - if you want more information on GitHub, see here.

We just now need to recreate a new SD card and install all of the dependencies. That’s going to take a while - we have a list of what’s needed, but it’s all done manually.


From Now On?

We’re going to create a script to install everything necessary. This means if it ever happens again, we can quickly recreate it and not be too disruptive.


Update: It's just taken me 4 days to get back to the state it was in last Sunday, but at least we now have a quick way to recover if this happens again!


What if this happens on Pi Wars competition day? Well with the script, we can recreate a new card quickly. Probably better, though, is to take a full SD card backup, as we can restore this in minutes without needing Internet access. We’re using the Win32Imager app on a PC to do the backup, but there are other tools available. Just make sure you’ve decided how you’re going to cope if the worst happens!




5 views0 comments

Recent Posts

See All

Comments


bottom of page