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.

You are viewing a single thread.
View all comments
-5 points

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

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

permalink
report
reply
2 points

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)

permalink
report
parent
reply

Debian operating system

!debian@lemmy.ml

Create post

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

Community stats

  • 56

    Monthly active users

  • 125

    Posts

  • 414

    Comments

Community moderators