AMANDA-INTERACTIVIT(7)
π AMANDA-INTERACTIVIT β¨
okay bestie, welcome to the amanda-interactivity page β it's a Miscellanea situation and it's literally all about Configuring Interactivity with Amanda Amanda (yes, it says Amanda twice, that's canon, we don't question the queen). π
β¨ DESCRIPTION β¨
so here's the vibe: Amanda is interactive. when it needs a specific volume to show up, it literally asks a human to go load it. this page is the tell-all on the interactivity modules that ship with Amanda. π¦
important deets: this is the user-level description of the API. it does NOT go into the stuff that only matters to people writing brand-new interactivity plugins. if that's your era, go read the Amanda source code, run perldoc 'Amanda::Interactivity', and hit up http://wiki.zmanda.com. iykyk. π
πΈ DEFINING INTERACTIVITY πΈ
you set this up in amanda.conf(5) like so:
define interactivity $interactivity_name {
comment "$comment"
plugin "$pluginname"
property "$PROPERTY_NAME" "$PROPERTY_VALUE"
...
}
and then you reference it in the global section, like:
interactivity "$interactivity_name"
quick lil heads-up: interactivity properties are just like Amanda config parameters β case doesn't matter, and - (dash) and _ (underscore) are fully interchangeable. they're the same thing, no cap. π«Ά
each plugin's own properties are down below in their own little sections. scroll, bestie. β¬οΈ
π INTERACTIVITY MODULES π
Amanda gives you three modules, and they ate: tty, email, and tty_email. let's go one by one. π
π₯οΈ TTY
the tty module talks to the user straight through the tty. it only works if a terminal is available β which is the case when Amanda is run from a command line. π
when it prompts you for a volume, you pop the requested volume into the changer and press Enter. you can also type the name of a different changer if the volume happens to live there. and if you type 'abort'? the whole operation gets aborted. periodt. π
π§ EMAIL
the email module sends requests to the user by email and reads the replies back from the filesystem. iconic, honestly. β¨
it's got a whole collection of properties:
check-fileβ if this is set, Amanda will check this file for user input. the user cantouchthe file to tell Amanda the requested volume got inserted into the changer. if the user writes the name of a changer into the file, Amanda will use that changer. and if the user writes the word'abort'into the file, the scan gets aborted. πcheck-file-delayβ default:10. this integer property is the time in seconds between each check of thecheck-file. β±οΈmailtoβ default: the global value ofmailto. these are the email addresses the email gets sent to. if you're giving multiple addresses, separate them with spaces. π¬resend-delayβ default0. the time in seconds between emails. Amanda will resend the same email at this frequency, which is lowkey useful ifmailtois a pager or a phone. if it's set to0, only one email is sent. π
π¦ TTY_EMAIL
the tty_email module is the best of both worlds: it uses the tty module if a terminal is available, and falls back to the email module otherwise. its properties are just a combination of the properties from each module. slay. π
π EXAMPLE π
define interactivity "by-tty-or-email" {
comment "Send email on runs from cron; use terminal on command line"
plugin "tty_email"
property "mailto" "admin1" "admin2" "me@home"
property "resend-delay" "1800" #every 30 minutes
property "check-file" "/tmp/email_input"
property "check-file-delay" "10" #every 10 seconds
}
β SEE ALSO β
The Amanda Wiki: : http://wiki.zmanda.com/ (yes the double colon is really there, we love her π)
π AUTHOR π
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
and that's the whole page, bestie!! π₯³ this was Amanda 3.5.4, dated 08/26/2026, and it lives at AMANDA-INTERACTIVIT(7). go forth and be interactive, mwah ππ«ΆπΈ
π¦ where this page comes from
- ubuntu stonking: amanda-common 1:3.5.4-2.1ubuntu1 Β· Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms