this post was submitted on 13 Jun 2024
50 points (98.1% liked)

Linux

45854 readers
1670 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Would this work or would I have problems:

Using dd command to backup an entire SSD containing dual boot Windows/Ubuntu partitions into an .iso file, with the intent to then dd that iso back onto the same size SSD in the case of a drive failure?

you are viewing a single comment's thread
view the rest of the comments
[–] scrion@lemmy.world 10 points 1 month ago

Honestly, that just seems like you're treating dd as some kind of arcanum. dd works just fine and I've been doing 1:1, full system backups for decades with it, no issues. Honorary mention for ddrescue / dd_rescue for recovery options, i. e. re-trying bad sector reads etc.

In fact, when Clonezilla doesn't know your filesystem, it will simply employ dd to copy the data sector by sector.

I'd argue that Clonezilla (due to its use of partclone) is actually a less complete form of backup, since it will only copy used blocks, you don't really end up with a clone of your devices, just a copy of what partclone believes to be your data. Don't get me wrong, that is fine in most use cases, but there are some cases where this doesn't cut it, e. g. wanting to backup / restore a storage device from a PLC where the vendor had the glorious idea to store licensing data in unused sectors, or when you want to create a forensic disk image, might want it look into d3dd then, although it absolutely works using regular old dd as well, d3dd just adds some amenities.

All I want to say is: dd is an absolutely reliable tool and can be a one stop solution for device backups. Also, I have absolutely no quarrels with Clonezilla, if it fits what you're trying to do and it works, great.