2009/5/26 Umarzuki Mochlis <umarz...@gmail.com>:
> There's a hard disk with bad sectors that I want to make a back up with
> ddrescue but the thing is, it is 1 TB and the backup location is also 1 TB
> and that is the only one I could afford right now. How do I compress it on
> the fly while making an image out of it?

Try, for example
$ dd_rescue /dev/sda1 - | gzip > image.gz

Where /dev/sda1 is your dying disk and image.gz is the compressed output.
Be aware that having stdout as the destination for dd_rescue means
it is unable to handle writing sparse files properly (if that is required).

cheers,
Owen.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to