3B2 incremental backup problem
Mitch Che
che at ptsfb.UUCP
Tue Oct 8 03:14:28 AEST 1985
For 3B2 administrators: If you're doing backups using the "Simple
Administration" (sysadm), there is a small problem with /etc/savecpio
which may lead you to miss backing up important files. This script
does a find on each mounted file system for updated or new files, pipes the
list to sed (to remove any exceptions contained in /etc/save.d/timestamp/
except), and stores this list in a /tmp file. The problem is that this file
should be APPENDED to, not overwritten, otherwise only the last file
system is backed up... To save your sanity, change > to >> in this line
in the /etc/savecpio script:
find ${dirlist} -type f -newer ${DIR} -print |
sed -f /tmp/$$.3.save >>/tmp/$$.2.save
Also, while you're there check the lines that remove the /tmp files.
They should read rm /tmp/$$.*.save, not rm /tmp/$$.save*. Ever wonder
where those 40 /tmp files came from? Sloppy coding, AT&T.
--
Mitch Che
Pacific Bell
---------------------------------------
disclaimer, disclaimer, disclaimer, too
(415) 823-2438
uucp: {ihnp4,dual}!ptsfa!ptsfb!che
More information about the Net.bugs.usg
mailing list