3.3.0

Is there a mechanism that permits altering a common / shared changer 
definition's "use-slots" parameter to support daily / weekly configurations?

One description of a solution would be:

-- DAILY/amanda.conf

define changer mychanger {
  tpchanger "commonchanger"
  property "use-slots" "1-32"
}

-- WEEKLY/amanda.conf

define changer mychanger {
  tpchanger "commonchanger"
  property "use-slots" "33-36"
}

--- amanda.conf.main

tapedev "mychanger"

define changer commonchanger {
  tpchanger "chg-robot:/dev/sg5"
  property "tape-device" "0=tape:/dev/nst0"
}

This approach doesn't work, of course (tpchanger is not a known type).  The old 
chg-zd-mtx scripts handled this with separate changer.conf files.  I haven't 
succeeded in parsing out a solution from the docs, and thought I'd check before 
duplicating the changer definition in each amanda.conf file ...

TIA.

Bryan

-- 

Bryan Hodgson                       Lehigh University
[email protected]            Packard Lab 019 room 115
610-758-5001                        19 Memorial Drive West
                                    Bethlehem, PA 18015-3016

Reply via email to