Re: compress raw image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-08-04 at 16:35 +0200, Rainer Traut wrote:
> Hi,
> 
> I need to transfer a local raw image to another datacenter.
> Is there a way to achieve good compression of this image, I heard of 
> tools overwriting unused space with zeros. Is this a good idea?
> 
> It's an W2k8 image/NTFS.
> 
> Thx
> Rainer

  I'd use
dd if=<local dev> | bzip2 | ssh <remote user>@<remote server> "bunzip2 |
dd of=<remote dev>"
or something similar.

  I'd then do
ssh <remote user>@<remote server> "md5sum <remote dev>" ; md5sum <local
dev>
to give myself some reassurance that they were the same.

  

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt


[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux