Paul on Thu, 27 Feb 2003 19:30:33 -0500


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

Re: [PLUG] Backup to CD-RW




gabriel rosenkoetter wrote:

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).



I didn't read far enough down. According to the author, "Tar does not handle compression very well, so I don't use compression."


Here are the compression options for my version of tar:

-j, -I, --bzip
-z, --gzip, --ungzip
-Z, --compress, --uncompress

These are just intersting:

-G, --incremental
-g, --listed-incremental F


_________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce General Discussion -- http://lists.netisland.net/mailman/listinfo/plug