Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!jb3o+ From: jb3o+@andrew.cmu.edu (Jon Allen Boone) Newsgroups: comp.unix.admin Subject: Re: precedence in crontabs Message-ID: Date: 4 Mar 91 03:48:17 GMT References: <10481@dog.ee.lbl.gov>, <12931@helios.TAMU.EDU> Organization: Carnegie Mellon, Pittsburgh, PA Lines: 21 In-Reply-To: <12931@helios.TAMU.EDU> You could do what we do - have cron run a backupprogram - which calls a script which, for each machine, calls a c program to determine the level of the dump, writes a header file (using dd) on the tape, then does the dump to the tape, keeping a detailed log (dump's output) for each day (the last 14 days are kept) and a not-so-detailed log (dd's output) for general record keeping. For 14 volumes, we do a level 0 dump every fortnight. Or you could replace the whole schmear with a perl script to do the whole thing for you. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- | Iain | jb3o@andrew.cmu.edu | iain@stat.cmu.edu | R746JB30@VB.CC.CMU.EDU | ----------------------------------|++++++++++++++++++++++++++++++++++++++++ | "He divines remedies against injuries; | "Words are drugs." | | he knows how to turn serious accidents | -Antero Alli | | to his own advantage; whatever does not | | | kill him makes him stronger." | "Culture is for bacteria." | | - Friedrich Nietzsche | - Christopher Hyatt | -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-