What is the best way to back up as much as possible of Debian 12 on my laptop to a server that has SSH available? I am currently backing up my users /home/<homedir> folder, but I would like to be able to nuke and restore the system from a backup.

I have ventoy on an external drive if that helps any.

P.S. I would like to be able to do incremental backups too.

  • Anna@lemmy.ml
    link
    fedilink
    arrow-up
    0
    arrow-down
    5
    ·
    7 months ago

    dd if=/dev/sda of=/dev/sdb bs=5M --status=progress

    Just don’t mix up a and b otherwise you’re truly screwed.

    • waspentalive@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      I actually did this **dd if=(running system root volume) of=(local usb attached hard drive file) ** This gives me a full disk backup that would be no worse than if power got yanked. (I know laptops have batteries, for this case we are pretending to be a desktop with no UPS)