Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!ric From: ric@Apple.COM (Ric Urrutia) Newsgroups: comp.unix.questions Subject: Re: backup with compressed cpio files ? Message-ID: <27095@apple.Apple.COM> Date: 10 Mar 89 22:49:38 GMT References: <9100001@netmuc> <872@deimos.cis.ksu.edu> <516@gonzo.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 18 >In <9100001@netmuc> bothe@netmuc.UUCP writes: > >>has anyone tested to backup compressed cpiofiles ? >>find . -print | cpio -oac | compress >/dev/rmt0 I suggest using the following command to write the file find . -depth -print | cpio -o | compress | dd bs=8k of=/dev/rmt0 (I use 8k on my cartridge but use whatever blocking factor is appropriate for your system.) To uncompress the tape file, use the following command: dd if=/dev/rmt0 bs=8k | uncompress | cpio -ivdum (or whatever cpio options you need). Good luck!