precedence in crontabs
Jon Allen Boone
jb3o+ at andrew.cmu.edu
Mon Mar 4 13:48:17 AEST 1991
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 at andrew.cmu.edu | iain at stat.cmu.edu | R746JB30 at 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 |
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
More information about the Comp.unix.admin
mailing list