Am 18.02.2015 um 19:43 schrieb Jean-Louis Martineau: > On 02/18/2015 01:17 PM, Debra S Baddorf wrote: >> (a) oops, I didn’t mean to write plural. Just singular. >> amadmin <config> tape >> >> (b) the flag doesn’t work for me. I’m at version 3.3.7. >> RedHat; I compiled from a tar ball. >> The flag is completely ignored. >> I wonder what makes the difference?? > > You are right, the --days is ignored, I think it is broken since 3.3.2
Ah, that explains a lot. My draft worked back then but it is from >4 yrs ago, I assume. > I committed a fix (it is attached). > > You can do the following to get a similar result: > DAYS=10 # or the value you want > RUNTAPES=`amgetconf CONF runtapes` > NEW_RUNTAPES=`expr $RUNTAPES \* $DAYS` > amadmin CONF tape -oruntapes=$NEW_RUNTAPES Will test tomorrow, great ... looking forward. Thanks! Stefan
