A couple of times now I've messed things up on the Pi, and it's felt easier to wipe the card and start again. Ideally I don't want to keep repeating the same set-up each time, so I'd like to make snapshot backups of the entire card from time to time, so that I can restore to that back-up next time that something goes wrong.
In an ideal world, I'd like the Pi to copy backups to an external drive or cloud storage weekly without any user interaction. However, I *think* from my research that this is only able to copy the Home area etc, and wouldn't actually allow me to say return to a point where I hadn't edited fstab for example, or installed a new program. Is that correct?
I'm working on the assumption that it's not possible, and that I'm going to need to power down the device for each backup and physically remove the card. If so, what's the easiest thing for me to do? I'm thinking that having some sort of image file that I can just reinstall from is going to be easiest.
I have a Windows 10 laptop, and also have Ubuntu that I can run 'live' from a USB stick. Is using the SD card options from the bottom of this article on Linux the easiest thing to do?
https://www.raspberrypi.org/documentati ... /backup.md