Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!diku!olamb!kimcm From: kimcm@olamb.UUCP (Kim Chr. Madsen) Newsgroups: net.unix-wizards Subject: Re: Incremental dumps using cpio Message-ID: <140@olamb.UUCP> Date: Thu, 30-Jan-86 12:52:02 EST Article-I.D.: olamb.140 Posted: Thu Jan 30 12:52:02 1986 Date-Received: Wed, 5-Feb-86 02:17:19 EST References: <1729@brl-tgr.ARPA> <119@delftcc.UUCP> Organization: AmbraSoft, Copenhagen Denmark Lines: 21 [come on ye little faithfull goumet] How about this little strategy: #!/bin/sh backupdate=/usr/local/bakupdate if [ -f $backupdate ] ; then find $1 -newer $backupdate -print | cpio -ov >/dev/whatever touch $backupdate echo "Incremental backup finished." else find $1 -print | cpio -ov > /dev/whatever touch $backupdate # create empty file. echo "Full backup finished" fi This program above is NOT guaranteed to work, but is just an idea of the approach. In the case above you can use ncpio if you're using one of at&t's 3B machines. Kim Chr. Madsen kimcm@olamb.UUCP