Amanda-Users

Re: How to control which tape is next?

2003-10-20 15:43:31
Subject: Re: How to control which tape is next?
From: Mads Pultz <mpultz AT nordija DOT com>
To: Frank Smith <fsmith AT hoovers DOT com>
Date: Mon, 20 Oct 2003 21:39:17 +0200
Hi.

Thanks for all your replies. I'm not through my tapecycle yet so that is
probably the reason.

Regards
Mads

On Mon, 2003-10-20 at 21:34, Frank Smith wrote:
> --On Monday, October 20, 2003 20:39:45 +0200 Mads Pultz <mpultz AT nordija 
> DOT com> wrote:
> 
> > Hi.
> > 
> > I have the following settings.
> > 
> > dumpcycle 3 days 
> > runspercycle 3 days
> > tapecycle 8 tapes
> > 
> > runtapes 1
> > tapedev "/dev/nst0"
> > 
> >> From the backup report that is sent to me every day everything seems to
> > be fine. However, there is one thing that bugs me. The report begins
> > like this
> > 
> > These dumps were to tape Daily006.
> > The next tape Amanda expects to use is: a new tape.
> > 
> > However, I would like AMANDA to only accept the immediate subsequent
> > tape (in this case tape Daily007). In this at all possible? If so what
> > am I doing wrong. I messed around with the chg-manual script for a while
> > but without any luck.
> 
> I'm guessing that all your tapes aren't in your tapelist, so all
> Amanda knows is that its not yet time to reuse any of the ones it knows
> about, so its asking for a new tape.
>    Once your tapelist is as long or longer than your tapecyle Amanda
> will ask for the oldest one in the tapelist (oldest meaning the tape
> last written to the longest time ago). 
> 
> Frank
> 
> > 
> > Any help would be appreciated.
> > 
> > Mads
-- 
Mads Pultz
Systems Architect

Nordija A/S
Gladsaxevej 382
DK - 2860 Søborg
Denmark

Email: mpultz AT nordija DOT com

Phone Office: +45 70 20 25 10
Phone Mobile: +45 30 94 58 63