Am 30.11.18 um 19:40 schrieb Debra S Baddorf: > Well, from comp sci courses 20 years ago, the best algorithm to fill the > tapes (or the “Bag” in CS class) > is the Greedy Method. Which is also the most obvious one. > taperalgo=largestfit > I.E. Pick the biggest thing that will still fit in the bag. > Repeat. > (Physical example: put the large stones in the jar first. Then medium, then > small pebbles. > Then sand, then water. Used in life-strategy classes. Determine what > matters most to you, do it first.) > > To do this, you need to have a large choice of DLE’s dumped into your > holding disk, before amanda > starts putting them to tape. So it can find the most optimal “biggest, > then next biggest, then ….. “ > > So you want to have lots of DLE’s on disk before taping starts. > IFF you have the holding disk space, you might want these params: > > flush-threshold-dumped 300 # (or perhaps only 150) ## I have NOT > tested this one > flush-threshold-scheduled 100 # > ###However, all dumps will be flushed; none will > ### be left on the holding disk. > taperflush 0 > autoflush yes > > taperalgo largestfit > > dump order “SsSsSs” # so that it accumulates a bunch of small ones, as > well as big ones, > # for the Greedy Algorithm to choose from > > If the archives are going offsite, and are not available for daily file > recoveries, you may want > to set "record no” so that normal dailes don’t base their level 1’s off > THIS level 0. > (I do this, for my archive runs.) > > And of course, you prefix the run with > amadmin config force * > (I seem to need amadmin config force *.restof.siteAddress Try and see) > > > I do these once a month, but have never worried about the tape filling, > very much. > Beyond always using “largestfit” and having some DLE’s on disk before > taping starts. > If you are using a lot of tapes (you are) it might be worth fiddling with.
I switch over configs (and in consequence tapes) this week: instead of running normal "daily" config, I now run "archive" to a separate set of tapes now ... same disklist, other amanda.conf The plan is to let that config "balance" somehow, collect lev0 backups on holding disk and then flush them to the WORM tapes.
