backup with compressed cpio files ?

Doug Gwyn gwyn at smoke.BRL.MIL
Sun Feb 19 11:41:08 AEST 1989


In article <872 at deimos.cis.ksu.edu> tar at ksuvax1.cis.ksu.edu (Tim Ramsey) writes:
>In article <9100001 at netmuc> bothe at netmuc.UUCP writes:
>>what i suggest is to save my files with:
>1) You can't compress the output from find and pipe that into cpio.  Try:
>      find . -print | compress | cpio -oac > /dev/rmt0
>   Note that since cpio isn't writing directly to the tape device, the
>   "-B" option doesn't do anything.

What the hell are you guys talking about??
The output from "find" is a list of pathnames,
which must remain readable as "cpio" receives them
If you direct "cpio -o"'s output at a magtape,
it certainly WILL write directly to it.

	find . -depth -print | cpio -oc | compress | dd bs=5k > /dev/rmt0



More information about the Comp.unix.questions mailing list