[comp.sys.hp] Is anyone running fbackup from cron?

alien@hpdmd48.boi.hp.com (Tom von Alten) (11/29/90)

This isn't a direct answer, since I've never used fbackup, but here's
what I use for daily incremental backup.  It deals with the error of no
tape without a problem.  The usual disclaimers apply.
______________________
# incr.backup
# Incremental backup of /, to be run by root
#
# Stdout is intended for piping to a log file.
# Tom von Alten  900504
#

date

last_time=/last_full_bac       # or some file w/mod time of full backup
cd /

find . -fstype hfs -newer $last_time -print | \
      cpio -o | compress -fc | tcio -oV /dev/rct

if [ $? != 0 ]
then
  echo 'Last incremental backup of / FAILED.'
else
  echo 'Incremental backup of / is complete.'
#   This next line will catalog the tape for the log file.
  tcio -i /dev/rct | uncompress -fc | cpio -itv
fi
_____________
Tom von Alten           email: alien@hpdmd48.boi.hp.com
                        Hewlett-Packard Disk Mechanisms Division
                        208 323-2711____________________________