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?

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

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