gabriel rosenkoetter on Thu, 27 Feb 2003 19:10:35 -0500


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

Re: [PLUG] Backup to CD-RW


On Thu, Feb 27, 2003 at 06:46:07PM -0500, Paul wrote:
> I'm curious why the author doesn't use -z to gzip the tar...maybe that 
> can't be done with a streaming backup?
> 
> 'The script I currently use consists of a single line: "tar -c -v -f - 
> /root /etc /home/lnf | cdbackup -d /dev/scd0 -r 0,0,0 -s 4 -v -l 640 -m".'

Probably because his data fit on a single CD-R without zipping and
it would have been more processor overhead to gzip it. (Haven't seen
the site, so I could be off-base.)

In any case, the -z flag *precisely* bzips streaming data.

Outside chance that he could have been fearful of bugginess in zlib
(he'd be well-founded... first 1.1.3 and now 1.1.4 have been shown
to have security-impacting buffer overflows).

-- 
gabriel rosenkoetter
gr@eclipsed.net

Attachment: pgp9b8B49RFwE.pgp
Description: PGP signature