Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!brl-smoke!smoke!cottrell@NBS-VMS.ARPA From: cottrell@NBS-VMS.ARPA (COTTRELL, JAMES) Newsgroups: net.lang.c Subject: CPIO Incremental Dumps Message-ID: <1136@brl-smoke.ARPA> Date: Wed, 19-Feb-86 16:45:58 EST Article-I.D.: brl-smok.1136 Posted: Wed Feb 19 16:45:58 1986 Date-Received: Sun, 23-Feb-86 05:55:11 EST Sender: news@brl-smoke.ARPA Lines: 27 /* > >From: weber@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 ' option to TPC's find command. And a `-newer ' command as well. > -Barry Shein, Boston University jim cottrell@nbs */ ------