1 |
On Sun, 22 Jul 2012 19:18:44 +0200, Jarry wrote: |
2 |
|
3 |
> I want to backup my whole hard-drive (8 partitions) with: |
4 |
> # dd if=/dev/sda | gzip > /path/image.gz |
5 |
> |
6 |
> In order to achieve good compression level I'd like to wipe |
7 |
> out all empty space with zeros. How can I do that? |
8 |
|
9 |
It may be worth your while looking at partimage (which can also image |
10 |
whole drives). It only copies used sectors so avoids the problem of |
11 |
storing obsolete data. I believe Clonezilla uses partimage, and you'd |
12 |
have to use a live CD to image a system drive like this anyway. |
13 |
|
14 |
|
15 |
-- |
16 |
Neil Bothwick |
17 |
|
18 |
War does not determine who is right -- only who is left. |