On 23-Jul-12 16:29, Nikos Chantziaras wrote:
On 22/07/12 20:18, Jarry wrote:
Hi,
I want to backup my whole hard-drive (8 partitions) with:
# dd if=/dev/sda | gzip > /path/image.gz

In order to achieve good compression level I'd like to wipe
out all empty space with zeros. How can I do that?

That's the wrong way to do it.  You should use a tool that only copies
the data, and then also backup the partition table.

Or use partimage/clonezilla like Neil mentioned which does all that
automatically.

I know those tools. Unfortunatelly, they do not support
"smart copying" (only used sectors) if software raid is used.

So I'm back on the beginning: I can clone only the whole
drive (all sectors). No matter if I use dd, clonezila or
partimage...

Jarry
--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Reply via email to