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?

  • Nine@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    5 months ago

    Like everyone has said there’s way better ways of doing it.

    HOWEVER if you wanted to use dd you totally could. I’d recommend piping into something like gzip/zstd to save some space though.

    dd if=/dev/sda | gzip >/mnt/backup_disk/sda.gz

    You could also use restic backup the raw block device too.

    That being said, clonezilla is exactly what you want