Comment on Best way to keep a hot spare SD card for a raspberry pi?
Darkassassin07@lemmy.ca 3 months ago
I’ve always used dd (if=/dev/mmcblk0) + sshfs to backup the entire sd card daily at midnight to an ssh server; retaining 2 weeks of backups.
Should the card die, I’ve just gotta write the last backup to a new card and pop it in. If that one’s not good, I’ve got 13 others I can try.
I’ve only had to use it once and that went smoothly. I’ve tested half a dozen backups though and no issues there either.
mumblerfish@lemmy.world 3 months ago
Do you dd the device directly, and while it is running for this?
Darkassassin07@lemmy.ca 3 months ago
Yeah “if=/dev/mmcblk0” and while its running.
I deliberately chose a rime when it’s not veru active. Never had an issue, going on 6 years now.