backup with compressed cpio files ?

Tim Ramsey tar at ksuvax1.cis.ksu.edu
Sat Feb 18 20:44:34 AEST 1989


In article <9100001 at netmuc> bothe at netmuc.UUCP writes:

>hello,
>has anyone tested to backup compressed cpiofiles ?

>what i suggest is to save my files with:
>find . -print | compress | cpio -oacB >/dev/rmt0

>and to restore them with
></dev/rmt0 uncompress | cpio -icB ...

I see two problems:

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.

2) If you get a bad spot on the tape later you won't (never say never :-)
   be able to recover anything beyond the bad spot.  This is a tradeoff
   when you use compress.

Tim
--
Timothy Ramsey
BITNET: tar at KSUVAX1
Internet: tar at ksuvax1.cis.ksu.edu
UUCP: ...!rutgers!ksuvax1!tar



More information about the Comp.unix.questions mailing list