CPIO Incremental Dumps
COTTRELL, JAMES
cottrell at NBS-VMS.ARPA
Thu Feb 20 07:45:58 AEST 1986
/*
> >From: weber at nadc.ARPA
> >We recently installed Sys-V, release 2 and would like to use the cpio
> >command to do daily incremental dumps. AT&T has hinted that cpio
> >should be used but doesn't want to give out any more info without a
> >service contract in place.
Boy are you cynical! Or, boy am I naive.
> Sure, we do that as a regular shell procedure on our 3B5, although
> the shell script is a little peculiar to our installation, here's
> the gist of it:
>
> for j in 5 6 7 8 # whatever, for /usr5, /usr6...
> do
> /bin/find /usr$j -type f $duration -print >> $logfile
> /bin/cpio -oB < $logfile > /dev/rmt/0m
> done
There is also a `-cpio <device>' option to TPC's find command. And a
`-newer <file>' command as well.
> -Barry Shein, Boston University
jim cottrell at nbs
*/
------
More information about the Comp.lang.c
mailing list