50
submitted 3 months ago by brownmustardminion@lemmy.ml to c/linux@lemmy.ml

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
[-] kuneho@lemmy.world 6 points 3 months ago* (last edited 3 months ago)

Many years ago I tried it, but didn't really read up on it. Wanted to back up my Pi's sdcard while the system was running. I even fucking named that script "online-backup".

Now every time I ran that, after hours, I noticed my Pi was crashing, and never booted back up. I used chinese sd cards so I blamed it on them.

But this happened multiple times, just to learn I was using dd absolutely wrong.

dd was always a scary utility to me, and still is. I fucked up things with dd, regardless I quadruple checked everything 😅

but to answer the question; it's possible, but you really need to know what are you doing.

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

Linux

47343 readers
1162 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