Re: archiving via cron job?
Posted in 1995
Topics: Logging & Checkpoints
In article <jlumbleyDD48vx.7Mz@netcom.com>, jlumbley@netcom.com (Joe Lumbley) says: > >Jim Kistler (kistler@an.hp.com) wrote: >: I know archiving to disk file via cron job is unsupported but I'm doing >: it with Online 5.03, like others! > >: However, the "tbmonitor" date and time-of-archive information does not >: agree with the online.log file nor with with any real clock time on our >: system (HP 9000/755/HPUX 9.05). > >: My cron job runs at 19:52 and the online.log file shows the archive was >: done at the time the job ran, but looking at "tbmonitor status archive" I >: find the time shown in the "date and time of archive" column is anywhere >: from 2 to 3 hours earlier. > >I believe that the time in tbmonitor is the time of the last ***checkpoint*** >before the archive began. Should be easy enough to test. Thanks Joe! I posted the same problem a couple of months ago and no one thought of this. I just looked at my online.log and sure enough, the time reported by the archive status, and by our own logging method, match the time of the last checkpoint done before the archive was started. I have added a "tbmode -c" to our archive script that is run from cron to correct this time discrepancy. That has always bothered me. And it has confused our people that check the logs and change tapes in the morning. They will be confused no more! This sounds like FAQ material to me!