I go further than "Grandfather Father Son" for my Raspberry Pies backups.What you should do is to use THREE SDCards. This is known as "Grandfather Father Son" backups, and is a longstanding tried and tested scheme for removable media.
Looks like I won't even need to remove the MicroSD card anymore to create a bootable copy of my Raspberry Pies. Nice!
Thanks again.
- Backup from the working one to another (you will need a USB card writer connected to the Pi). Then change the card so you test the backup. No need to swap back!.
- Next time, backup to the third card, same procedure. Then you still have a working card even if something goes disastrously wrong during the backup, destroying two SDCards.
- Subsequently, always back up to the oldest copy.
I have a SSD at home and one at the cottage. Both connected to a Raspberry Pie and both accessible to one another through a TailScale tunnel. Once an image is created (and time stamped) in one location, it is copied to the other SSD for safe keeping. I also gzip the image and copy it to my OneDrive space where it is kept for a few iterations of the backup procedure.
When I was maintaining the backups at work (a long time ago), my preferred backup software (until disk dedups replaced the tapes that is) was Palindrome using a Tower of Hanoi rotation method. It allowed to have the most granular backups with the least number of tapes.
Statistics: Posted by sylvaing — Mon Aug 19, 2024 12:08 am