11 PATH=/usr/local/lib/backup:$PATH export PATH
13 echo "FAILED during startup of incremental" >this-status
16 for tsfs in `cat all-fsys-n`
18 echo "Checking timestamp of last full dump of $tsfs;"
19 if ! test "lfull.$timestamp" -ot "lfull.$tsfs"
25 if test -f "lfull.$timestamp"
27 echo "Using timestamp of last full dump of $timestamp."
29 echo >&2 "No full dump of $timestamp done yet."
34 since="`cat lfull.$timestamp`"
35 doing="incremental since dump of $timestamp at `cat lfull.$timestamp` to $device"
40 echo Doing "$doing" ...
41 echo "$doing": >>increm-log
43 echo "tar -lvvc \"-N$since\" -T$dir/fsys.all -f - \\"
44 echo " 2>>increm-log | dd of=$device bs=${blocksize}b"
45 echo "FAILED during incremental" >this-status
47 tar -lvvc "-N$since" -T$dir/fsys.all -f - 2>>$dir/increm-log \
48 | dd of=$device bs=${blocksize}b
51 echo "FAILED during cleanup" >this-status
53 test -f this-fulldump && mv this-fulldump "lfull.$filesystems"
54 echo "$doing" completed.
56 echo "Next dump tape to use would be `cat next-full`".
58 echo "INCREMENTAL successful" >this-status