On Tuesday 06 October 2009, Gene Heskett wrote: >On Monday 05 October 2009, Dustin J. Mitchell wrote: >>On Mon, Oct 5, 2009 at 11:01 PM, Gene Heskett <gene.hesk...@verizon.net> > >wrote: >>> Now, I realize that when amdump calls it, it has knowledge of the >>> logfiles full name, but ISTR it used to be hand runnable with nothing >>> more than an >>> >>> su amanda -c "amreport Daily" >>> >>> and it would do the most recent backup. >> >>Nope -- the behavior you're observing has been the case as long as I >>can remember. > >Gah, CRS? Maybe it was amplot, which I haven't exercised in ages, too hard >to decode. > >>> I believe this behavior can be restored if $logdir/'log' was made into a >>> softlink that was updated when the new long named logfile was started, >>> and would then be good till the next run, in a manner similar to the use >>> of the 'data' link now used in the vtape setup. Can this be managed for >>> the next snapshot? >> >>This gets into some of the old, crufty, hairy parts of Amanda. That >>"log" file actually doubles as the lock that prevents other Amanda >>operations from overlapping with a running dump, so converting it to a >>symlink is not an option. > >I see. Reading between the lines then, when amdump is running, it is >actually named 'log' and is renamed when amdump is finished? If I'm awake >(doubtful) I'll look while its running.
I was, just enough to note it wasn't full sized yet, so the supposition was correct. >>Amreport is not meant to be run by hand, just like amtrmidx and its >>ilk, so I don't see a strong need to "fix" this to search for the >>latest completed logfile. It worked as expected. Thanks Dustin. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) The NRA is offering FREE Associate memberships to anyone who wants them. <https://www.nrahq.org/nrabonus/accept-membership.asp> Great minds run in great circles.