I’m a bit neurotic about losing my HA installation. I keep backups, but am not very confident with their reliability and would like to clone the disk image with Clonezilla as a fallback.
I run a docker HA installation on a raspberry Pi connected to my LAN.
Has anyone used Clonezilla to clone their HA installation?
The HA Container is most probably the easiest one to backup, assuming you use the standard sqlite3 as database: just use the builtin backup tool (and offload from the device, ofc).
Basically, a HA backup will allow you to restore anywhere where docker is available.
Doing a image backup is not only overkill, but counter-productive, here.
An image will only allow you to restore on the exact same machine, so if it fries or is gone for any reason, your “backup” is useless unless you buy back the exact same one.
Imagine you did an image backup of your rpi4, and that one went dead last year (things are improving, now)
When I changed my ssd and needed to clone between disks, I tested clonezilla and it didn’t work.
what at the time solved the problem for me was balenaEtcher.
But I think it only allows you to clone to another disk.
It can be an alternative, in fact after clone you can put the new disk right away and check if the backup/clone was done correctly