[Question] Using DD to make a backup of an OS drive?

brownmustardminion@lemmy.ml to Linux@lemmy.ml – 49 points –

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?

27

You are viewing a single comment

Should work. You'd be better off dd'ing each partition separately.

Why’s that?

If you dd a 1TB hard drive, it will create a 1TB image. You'd need to have a >1TB drive to store it. If you dd each partition separately, this won't be the case.

Plus it will be easier to discriminate between different FS and mount them accordingly.