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@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    7 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.

    • cmnybo@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      7 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@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          7 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

      • rotopenguin@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

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