Backups using compress

Leslie Mikesell les at chinet.chi.il.us
Wed Nov 28 06:11:10 AEST 1990


In article <14582 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:

>>Does anyone know of a way to compress files before sending them through 
>>cpio or tar to tape without actually creating a ".Z" file on disk.

>No, because cpio and tar open the files individually and have no provisions
>for per-file filtration.  What most people do is to compress the archive,
>not the individual files; that also should generally be more compact.
>In this method you can simply pipe the archive through "compress".

There are 2 problems with this method, though.  If you have a single
media error anywhere in the archive it will be pretty much impossible
to recover any of it past the error, and if most of the files on the
disk were already compressed the output may actually expand when
piped through compress.

Has anyone worked on a "packetizing" version of compress that would
be able to pass chunks that would not compress any further through
unchanged (except for a packet header) and provide identifiable
restart points that could be used for error recovery?

Les Mikesell
  les at chinet.chi.il.us



More information about the Comp.unix.questions mailing list