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?

  • @just_another_person
    link
    104 months ago

    As long as it’s not a mounted and running live system, it should work. Not the most efficient way to do such a thing, but I would think it should work.

    • @[email protected]
      link
      fedilink
      English
      44 months ago

      You can zero out the free space on each partition then pipe the output from dd into gzip if you want to save space.

        • Para_lyzed
          link
          64 months ago

          Seconding partclone here, it’s the easiest solution for imaging that only backs up the data on the partition that is used. Plus, it’s in RescueZilla, which is pretty intuitive and user friendly for those that prefer GUIs

      • @[email protected]
        link
        fedilink
        English
        14 months ago

        Gzip runs at tens of MB/s. Zstd runs at least 10x faster, and then goes fasterer with multithreading (-T0).