For those of you who use Raspberry Pi’s in your home environment, I’m curious as to what you use them for. What applications are you running on them? Do you have your Pi’s setup in a cluster?
For those of you who use Raspberry Pi’s in your home environment, I’m curious as to what you use them for. What applications are you running on them? Do you have your Pi’s setup in a cluster?
I’ve had a few issues with sd card corruption over the years, so I wrote a script to mount a local ssh server then backup the whole sd card to it as an .img each day.
Then whenever I have an issue (even just my own stupidity) all I’ve gotta do is pull the sd card and write the latest .img to it.
I had a backup in a USB hdd attached to the Pi. Can’t remember why it wasn’t resolved with that at the time. Maybe I tried restoring but it didn’t solve the problem, not sure.
Single backup? Ie overwriting the previous backup? Maybe you didn’t get to restoring it until after it had backed up the broken files.
Multiple backups over days helps. I keep a weeks worth of daily backups in case I miss the issue for a while. The script appends the date to the filename.
That’s probably what happened. It was only a single backup. I think it was the default for the backup feature for the DietPi OS.