I feel a bit silly for asking this, but here goes…
To backup my sd card, is just simply copy all folders and files to my computer? Or do I need to clone it - let’s say I want to put the same content on another card?
Thanks!
How to backup SD card
-
- Posts: 156
- Joined: Sun May 24, 2020 9:13 pm
- Has thanked: 158 times
- Been thanked: 22 times
Re: How to backup SD card
You have a couple of ways, pick the one that suits your use case.
If you wanted to clone the SD card, I believe Balena's Etcher can now make full disk images of SD cards. You'd probably only want to do this to the same size SD card though as I'm unsure if partition resizing tools are on the Linux install.
Otherwise, you could copy the contents of the filesystem somewhere else, but you would have to flash the MiSTer system to your fresh SD card before copying the files back - there are a few partitions that will be hidden from you.
I think that should cover you. I'd personally go for the second option as I'm likely to go for a larger SD card in the future (for example, if/when PSX hits the scene)
If you wanted to clone the SD card, I believe Balena's Etcher can now make full disk images of SD cards. You'd probably only want to do this to the same size SD card though as I'm unsure if partition resizing tools are on the Linux install.
Otherwise, you could copy the contents of the filesystem somewhere else, but you would have to flash the MiSTer system to your fresh SD card before copying the files back - there are a few partitions that will be hidden from you.
I think that should cover you. I'd personally go for the second option as I'm likely to go for a larger SD card in the future (for example, if/when PSX hits the scene)
Re: How to backup SD card
If you're running Linux on your PC you can use Rsync, that's how I've started to do mine as it'll only update changes and it just goes straight to my NAS. Set up a cronjob and as long as the MiSTer is on then you won't even need to think about backups.
Not overly necessary I guess with MiSTer if you don't change too much from one day to the next, but it's another option.
-
- Posts: 76
- Joined: Thu Feb 25, 2021 10:19 pm
- Has thanked: 64 times
- Been thanked: 18 times
Re: How to backup SD card
This is a great idea! Since MISTer runs Linux, is this something that could be configured directly on it, instead of proxying the task to a desktop Linux (which I don't have)?
Re: How to backup SD card
The Linux on the MiSTer SD card is really stripped down. You have to do it from the command shell.
And I never tried to see if that worked.
And I never tried to see if that worked.
It is my great regret that we live in an age that is proud of machines that think and suspicious of people who try to.
Re: How to backup SD card
I said in my previous post that it be could set as a cronjob, which is the Linux utility that automates commands at specified dates and times. However I was getting a little ahead of myself there as whilst I've sorted the commands for Rsync that I needed for both the SD card and USB storage I haven't actually looked to see if Cron is even in MiSTer Linux, as dark said Sorg strips out a lot of stuff to keep Linux as light as possible.zorrobandito wrote: ↑Sun Sep 05, 2021 11:19 pmThis is a great idea! Since MISTer runs Linux, is this something that could be configured directly on it, instead of proxying the task to a desktop Linux (which I don't have)?
If not then it'd have to be ran when wanted, you can do that from Windows using a program like Putty.
I'll report back when I get a chance to test.