Amanda-Users

Re: [UPDATE] How to control which tape is next?

2003-10-22 07:21:37
Subject: Re: [UPDATE] How to control which tape is next?
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Wed, 22 Oct 2003 07:17:05 -0400
On Wednesday 22 October 2003 06:07, Lucio wrote:
>> Lucio:
>>
>> Until all the tapes have been used at least once, Amanda had no
>> idea of which tape to use next.
>
>All the tapes have already been used at least twice, and during the
> first two cycles (more or less) Amanda had been telling me what
> tape number to put in the unit. Then a cloudy day it stopped doing
> so.

Ok, by now you should have a 'tapelist' file located in whatever 
directory the rpm install uses for its configuration storage.

Here, that directory is /usr/local/etc/amanda/ConfigName, and that 
file at this instant looks like this:
------------------
20031022 DailySet1-04 reuse
20031021 DailySet1-03 reuse
20031020 DailySet1-02 reuse
20031019 DailySet1-01 reuse
20030817 DailySet1-28 reuse
20030816 DailySet1-27 reuse
20030815 DailySet1-26 reuse
20030814 DailySet1-25 reuse
20030813 DailySet1-24 reuse
20030812 DailySet1-23 reuse
20030811 DailySet1-22 reuse
20030810 DailySet1-21 reuse
20030809 DailySet1-20 reuse
20030808 DailySet1-19 reuse
20030807 DailySet1-18 reuse
20030806 DailySet1-17 reuse
20030805 DailySet1-16 reuse
20030804 DailySet1-15 reuse
20030803 DailySet1-14 reuse
20030802 DailySet1-13 reuse
20030801 DailySet1-12 reuse
20030731 DailySet1-11 reuse
20030730 DailySet1-10 reuse
20030729 DailySet1-09 reuse
20030728 DailySet1-08 reuse
20030727 DailySet1-07 reuse
20030726 DailySet1-06 reuse
20030725 DailySet1-05 reuse
--------------------------
and amanda will expect to use DailySet1-05 tomorrow night.  The tape 
it just finished using is placed at the top of the list, having taken 
it off the bottom of the list when it was reused.

If you have edited that file as root, the perms may have been changed 
such that the amanda user hasn't any read rights, remember that the 
amanda user should have perms to read and write that file.

Does this help?

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.