Hello,

are there known issues in inheritance of script definitions in the
amanda.conf?

    define script pre-dle {
            ...
    }

    define dumptype global {
        comment "Global definitions"
        auth "bsd"
        compress none
        encrypt client
        client-encrypt "/usr/sbin/amcryptsimple"
        index on
        record yes
        estimate calcsize server
A       script pre-dle
    }

    define dumptype global-app {
        global
B       script pre-dle
        program "APPLICATION"
    }

    define dumptype tar-daily {
        global-app
        application {
            tar
            property "GNUTAR-LISTDIR" 
"/var/lib/amanda-client/daily/gnutar-lists"
        }
    }

The resulting config (check with amadmin <config> config) does include
the SCRIPT

    - once if used in (B)
or
    - twice if used in (A) and (B)

but *NOT* if used in (A) only.


    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
--
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -

Attachment: signature.asc
Description: PGP signature

Reply via email to