Backing up SD Card
-
Once you get the SD card just how I want it. Shut down retropie, turn it off completely. Pop out the SD card and put it in your Mac/PC (Mac for me). I use the app Pi-Baker, if you have a PC use the equivalent. There is an upfront option to back up the SD card. Select the card and let the program to the wok. Then pop your card back into you pi. If you ever need a backup, burn it from Pi-Baker, or whatever you use.
Yes, yes, I know there are ways to do it in terminal, but GUI is easier for most, and it makes me feel warm inside....
-
I actually built a back up program for RetroPie if your interested
-
@TheStrayMongrel on top of a pi image i ftp in and copy:
/opt/retropie/ folder
/home/pi/RetroPie/roms folder
/etc/emulationstation/es_systems.cfg
/boot/config.txt
/boot/cmdline.txtTo a folder on my computer that i name whatever version of pi i am on. Then if i need to fix something i already have the files and i dont have to reflash my card back to an img that might be outdated and is a pain to do when you dont have access to the sd card.
-
@demesauce Ha, that is exactly what i did do (mac user also)! :) My pi is inside my controls though, and i tend to be tinkering at night and i just know im going to drop the removed SD down the decking at some point or another given how small it is. More after a remote solution... thanks all the same.
-
@Drakaen391 Interested, do tell..? I dare say, given I'm a mac user, that'll hamstring whatever you've got going... but i hope not.
-
@edmaul69 Yeah thats a good call. Will have to do that also. Thanks for the heads up.
-
@TheStrayMongrel I will have to send the github link when I am back on my PC.
The program runs directly on the pi
-
@Drakaen391 Brilliant, will be keen to check it out. Thanks.
-
Ditto. I'm forever re-imaging after a pooch configs :)
-
I extract manually the SD and use a SD reader, then "Win32DiskImager" will make you a fast image of your SD, and too could be used for rewrite the SD (backup :P), aaand, win32 its for windows, obviously XD
-
I have the same problem, the pi is in a picade cabinet, bolted to the back door, so to get the card out I have to unscrew it.
A better solution (for me) would be if I could stick a USB Pen drive into one of the pi's usb ports, or even a sd card in an sd card reader, and just dump am image of the sd card straight to that from the pi.
I'd be very interested in other's backup solutions!
-
@GtBFilms said in Backing up SD Card:
A better solution (for me) would be if I could stick a USB Pen drive into one of the pi's usb ports, or even a sd card in an sd card reader, and just dump am image of the sd card straight to that from the pi.
Yeah that'd be cool. I'd make a port of the side of the control panel for such a thing.
-
The program is at github.com/Drakaen391/rpibu
Be sure the read the readme
The file is in beta, so please let me know how it works for you guys
-
@Drakaen391 awesome, thanks! Won't get the chance to try it out for a week or so but will let you know how I get on.
-
Good stuff @Drakaen391 thanks. Can you give me a little more info, does it make a back up image of the SD Card or copy across certain files?
-
It defaults to back up folders most commonly changed
-
Ah yep gotcha, can see that in the .cfg file.
Cheers
bu_file="etc/emulationstation opt/retropie/ home/pi/RetroPie/roms boot/config.txt boot/cmdline.txt home/pi/retropie/bios"
-
Hmm have i done something wrong? I assume the retropie-Thursday.tgz file is automatically generated? Sorry a bit of a beginner at all this. Thanks
pi@retropie:~/RetroPie/rpibu-master $ sudo bash rpibu.sh
Backing up etc/emulationstation opt/retropie/ home/pi/RetroPie/roms boot/config.txt boot/cmdline.txt home/pi/retropie/bios to home/pi/backup/retropie-Thursday.tgz
Thu 25 Aug 12:26:56 UTC 2016tar (child): home/pi/backup/retropie-Thursday.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting nowBackup finished
-
@TheStrayMongrel it didn't as the path doesn't exist...
The folders should exist prior to running the program
-
@Drakaen391 Ah yep sorry, didnt fully read that "Backing up.." line. Got it. Thanks
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.