I am supposing this will not work - simply using dd to copy the booted disk /dev/sda for example to a file on an external hard drive. This would not be a good back as too many system file would be missed. right?

3 points

Right. You can’t get a correct image of rw mounted filesystem.

permalink
report
reply
1 point

Is there an easy way to create a very minimal linux that runs out of memory or that would live in a very small partition, that would be capable mainly of dd ing the working partition to a file on a USB?

permalink
report
parent
reply
2 points

OH - what about one of the many bootable install ISOs and Ventoy?

permalink
report
parent
reply
2 points
*

You can boot off usb stick. Or grab a copy of clonezilla and boot off that memory stick with all the tools you’d want for drive or partition copy/restore

permalink
report
parent
reply
-1 points

I think it’s good enough. Shut down as many services as possible if you want to be safer. In the end it would just be like booting after a power failure.

permalink
report
reply
1 point

Do you have experience of restoring such a backup?

permalink
report
parent
reply
0 points

Yeah, didn’t have any problems. But maybe I just got lucky.

permalink
report
parent
reply
1 point

it would just be like booting after a power failure.

That level of confidence is EXACTLY what I want when I’m restoring a backup.

permalink
report
parent
reply
1 point

The difference being that it should just be writing log files and nothing important.

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

  • 40

    Monthly active users

  • 111

    Posts

  • 238

    Comments

Community moderators