>How can I identify amanda tapes by level of dump?  ...

Jonathan and David are correct that normally you would not do this as
Amanda may scatter dump levels all over the place w.r.t. the tapes.
But they have clearly not been following the "Saga of Denise" in the
list :-).

In summary, Denise is being forced to run Amanda into just the holding
disk for every run in the week except one.  Just before that one day,
she will do an amflush to dump the holding disk, then an "amadmin XX
force" to request all full dumps, then a normal amdump to tape.

She also has a very limited number of tapes, four, which implies using
two for the amflush (incremental) and two for the amdump (full).  In this
limited environment, she could reasonably expect to know what goes on
what tapes w.r.t. levels, at least full vs. incremental.

>I can label a tape
>that had a full dump on Nov1 as daily111 but I can't label a tape 
>that had a full dump on Nov 24th as daily1124.........

I don't think most people relabel tapes every time, and certainly not
with meaningful encoding of such things as the date they were used.
The typical method is to just create a set of tapes and let Amanda cycle
around through them, i.e. daily00, daily01, daily02, daily03.

Why do you want to relabel them each time?  Amanda will tell you (via
amadmin or amrecover) which tape has which dump image on it.

>NO - amanda@sundev1 [amanda] % amlabel daily daily11N
>amlabel: label daily11N doesn't match labelstr "^daily[0-9][0-9]*$"

This just says you need to "enhance" your labelstr.  Maybe something
like:

  "^daily[0-9A-Z][0-9A-Z]*$"

>There is an admin here who suggested I modify the labelstr.  Will this work?

Yes, however ...

>- you should modify labelstr to "$$$$$[0-9][0-9][0-9]"

... that is not a valid regular expression, or at least not the one
you want.  Image all your tape labels in a file and what grep pattern
you would use to match them.

>Denise E. Ives

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to