Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ptsfb.UUCP Path: utzoo!linus!decvax!decwrl!Glacier!well!ptsfa!ptsfb!che From: che@ptsfb.UUCP (Mitch Che ) Newsgroups: net.micro.att,net.bugs.usg Subject: 3B2 incremental backup problem Message-ID: <241@ptsfb.UUCP> Date: Mon, 7-Oct-85 13:14:28 EDT Article-I.D.: ptsfb.241 Posted: Mon Oct 7 13:14:28 1985 Date-Received: Thu, 10-Oct-85 06:03:58 EDT Organization: Pacific Bell, San Francisco Lines: 24 Keywords: 3B2, backup, missing files Xref: linus net.micro.att:620 net.bugs.usg:329 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