Hello there! Here’s the thing: I got some old HDD for my Debian home server, and now that I have plenty of disk space I want to keep a backup of the OS, so that if something accidentally breaks (either SW or HW) I can quickly fix it.
now the question is: which directory should I include and which should I exclude from the backup? I use docker a lot, is there any docker-specific directory that I should back up?
everything. download clonezilla, perform a bare-metal backup and if the worst happens, you can reflash your new disk to exactly how the old one was without skipping a beat.
Dont you have to power off the system and boot from clonezilla image to crea5e the backup?
*most of the time. And test backups to make sure they really work or you have no true backup.
clonezilla tests it as part of its backup process.
I’ve used clonezilla a bunch, I keep it on a flash drive as I’m always swapping hardware for myself or others or family. There’s issues. It’s as close as one could get to a carbon copy but there sometimes can be flaws that aren’t present in its checks. I find them to be random but possible. It’s fantastic software though. Amazing even.