[CentOS] imaging a drive with dd

Fri Mar 3 18:16:48 UTC 2017
Robert Moskowitz <rgm at htt-consult.com>

On 03/03/2017 12:31 PM, Styma, Robert (Nokia - US) wrote:
> On 3/3/2017 5:34 AM, Robert Moskowitz wrote:
>> Well, I only wanted to copy the used part of the drive which I try to
>> keep small so I can still copy the image to an mSD card if I wish.  So
>> I have to supply the amount of the drive to copy.  The bs=512 went
>> fast enough, but then I was only copying 3.2GB.
>> thanks for the help.
> Have you considered looking at Clonezilla?  It does a nice job of imaging a disk and only saves the used part.  It creates an image which can be restored and is bootable.

Yes, I looked at it a couple years ago, and I may well again as a 
disaster recovery tool.  It takes more to set up than a dd of the drive 
(and xzcat compression for storage).

I *DO* want a recovery strategy in place here.