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?

  • catty@lemmy.world
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    1 day ago

    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.

        • OhVenus_Baby@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          11 hours 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.