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?

you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 year ago (4 children)

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.

  • source
  • hideshow 4 child comments
  • [–] 2 points 1 year ago (2 children)

    *most of the time. And test backups to make sure they really work or you have no true backup.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 year ago (1 child)

    clonezilla tests it as part of its backup process.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year ago*

    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.

  • source
  • parent