I've been doing disk image backups to a 1TB USB drive for years now, using dd and gzip (I have filled the empty spaces with zeros so gzip squeezes it down to nothing). And I have restored that image to the same drive a couple of times when I screwed something up that I had to recover from, and it worked fine for that purpose. My drive is encrypted and has logical volumes, but it is irrelevant since dd just reads and writes every bit on the drive. It's quite simple and convenient; I boot up a puppy linux dvd to do it so nothing on the hard drive is active during backup (it's not mounted).
I tried using this method (without the gzip) to clone a bootable Flash drive, but it didn't work. I suppose that because the target flash drive was different from the source one, there was some anomaly. Anyway it did not yield a bootable flash drive; I don't know why not. (The target was larger, of course.)
This makes me think that all those hard drive images I have been storing for all these years will be of no use if my hard drive (actually an SSD) dies and I have to replace it. Or in other words, that a simple dd/gzip will not be able to clone a hard drive.
I have looked at a bunch of alteatives including clonezilla but they all seem very complex since they do not do bit-for-bit copies; they probably require to work with a mounted filesystem and decrypted data which then has to be encrypted again in the save set, and all sorts of other difficulties.
Is there no way to make dd work? Perhaps some little thing that can be tweaked?
- - , .
برچسب:
نویسنده: استخدام کار