+#define application-tool and dumptype for the amgtar application
+define application-tool app_amgtar {
+ comment "amgtar"
+ plugin "amgtar"
+ #property "GNUTAR-PATH" "/path/to/gtar"
+ #property "GNUTAR-LISTDIR" "/path/to/gnutar_list_dir"
+ #default from gnutar_list_dir setting in amanda-client.conf
+}
+
+define dumptype dt_amgtar {
+ program "APPLICATION"
+ application "app_amgtar"
+}
+
+#define application-tool and dumptype for the amstar application
+define application-tool app_amstar {
+ comment "amstar"
+ plugin "amstar"
+ #property "STAR-PATH" "/path/to/star"
+ #property "STAR-TARDUMP" "/path/to/tardumps" # default /etc/tardumps
+ #property "STAR-DLE-TARDUMP" "no"
+ # if 'yes' then create a different tardump file for each DLE,
+ # it is required if you do many dump in parallel (maxdump>1)
+}
+
+define dumptype dt_amstar {
+ program "APPLICATION"
+ application "app_amstar"
+}
+
+#define a script-tool to send an email
+define script-tool sc-email {
+ comment "script-email"
+ plugin "script-email"
+ execute_on pre-dle-amcheck, pre-host-amcheck, post-dle-amcheck, post-host-amcheck, pre-dle-estimate, pre-host-estimate, post-dle-estimate, post-host-estimate, pre-dle-backup, pre-host-backup, post-dle-backup, post-host-backup
+ execute_where server # or client
+ property "mailto" "martinea"
+}
+#your dumptype must include: script "sc-email"
+#to use the script
+
+define interactivity inter_tty {
+ plugin "tty"
+}
+define interactivity inter_email {
+ plugin "email"
+ property "mailto" "admin1" "admin2"
+ property "resend-delay" "10"
+ property "check-file" "/tmp/email_input"
+ property "check-file-delay" "10"
+}
+define interactivity inter_tty_email {
+ plugin "tty_email"
+ property "mailto" "admin1" "admin2"
+ property "resend-delay" "10"
+ property "check-file" "/tmp/email_input"
+ property "check-file-delay" "10"
+}
+interactivity "inter_tty_email"
+
+define taperscan taper_traditional {
+ comment "traditional"
+ plugin "traditional"
+}
+define taperscan taper_oldest {
+ comment "oldest"
+ plugin "oldest"
+}
+define taperscan taper_lexical {
+ comment "lexical"
+ plugin "lexical"
+}
+taperscan "taper_lexical"
+