[2392] in Athena Bugs
/etc/athena/backup
daemon@ATHENA.MIT.EDU (David Krikorian)
Thu Jun 15 06:12:20 1989
Date: Thu, 15 Jun 89 06:11:53 EDT
From: David Krikorian <dkk@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Cc: operator@ATHENA.MIT.EDU
Reply-To: dkk@ATHENA.MIT.EDU
The /etc/athena/backup that is on the 6.2 and 6.3 packs is completely
broken. It is more than 5 years old, and three-and-a-half years older
than the oldest version we've been using on the servers. (That's why
trillian's backups failed the past two days.) The logic of the
(Bourne Shell) script goes something like this:
if host-from-list is host-we-want-to-back-up-today
then do stuff
else
do other stuff
in-either-case
backup the host-from-list
end
As you can probably see, it is trying to backup EVERY host from the
list, EVERY day that the script is done. Here are the headers of the
two versions:
#!/bin/sh -x
#
# Title: Athena LAN Backup Procedure
# Author: Michael R. Gretzinger
# Creation Date: 30-Apr-1984
#!/bin/sh -x
#
# Title: Athena LAN Backup Procedure
# Author: Michael R. Gretzinger, Phil Hammar
# Creation Date: 30-Apr-1984
# Last Modified: 19-Nov-1987
Maybe that script worked as the backup servers were configured in
1984, but it's better left out of the release than as it is now.