Amanda-Users

Re: How to control which tape is next?

2003-10-20 15:38:33
Subject: Re: How to control which tape is next?
From: Frank Smith <fsmith AT hoovers DOT com>
To: Mads Pultz <mpultz AT nordija DOT com>, amanda-users <amanda-users AT amanda DOT org>
Date: Mon, 20 Oct 2003 14:34:13 -0500
--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



-- 
Frank Smith                                      fsmith AT hoovers DOT com
Systems Administrator                           Voice: 512-374-4673
Hoover's Online                                   Fax: 512-374-4501