On 2023-10-23 10:43, Roger Oberholtzer wrote:
If I used dd, I would probably compress the file as it is read. But obviously watching that dd does not complain when writing it's data would be a good thing. Surely any proper disk cloning tool would do the same. And perhaps provide a checksum of the data do potentioal later corruption can be detected.
In the example of kiwi, it computes a checksum of the image it will write to an OEM disk, and after it later writes that image to a new OEM disk, it will check that the written disk image has the same checksum. I would expect that any decent backup/restore program must do the same.
I do that in my script, but it is not polished. Not for newbies. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))