AMSTATUS(8)

✨ AMSTATUS ✨ β€” aka amstatus(8) from the System Administration Commands πŸ’…

okay bestie, sit down, hydrate, and let me tell you about the little command that tells you what your Amanda backup is actually doing right now 🫢


🌸 NAME 🌸

amstatus β€” display the state of an Amanda run. that's it, that's the girl πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

amstatus [--file amdumpfile] [--[no]detail] [--[no]summary]
         [--[no]taped] [--[no]stats]
         [--[no]locale-independent-date-format] [--config] config

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, amstatus gives you the current state of the Amanda run specified by the config configuration. if there's nothing actively running, she doesn't leave you on read β€” she summarizes the result of the last run. and plot twist: you can also use her to summarize the results of a previous run, which is giving time-travel energy ngl ⏳✨

for more details about Amanda itself, go read the amanda(8) man page. iykyk πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

quick thing before we dive in, and this is important so listen up: all options may be abbreviated to the shortest non-ambiguous sub-string. and if you give her no options at all? everything gets displayed. she's an overachiever, we love that for her πŸ˜­πŸ’–

  • [--config] config β€” specify the Amanda configuration you want to display the state for. this is the main character argument fr.
  • --file amdumpfile β€” specify an alternate file to use instead of the amdump or amflush file. like, "not that file, this file bestie" πŸ“
  • --detail β€” display a detail of each dles. every single one. she's thorough like that ✨
  • --summary β€” display a summary of the state of the run. the tl;dr version 🌈
  • --taped β€” display each tape used in the summary of the state of the run. tape girlies rise up πŸ“ΌπŸ’…
  • --stats|statistics β€” display statistics about active-time of taper and dumpers. numbers!! we love a stats moment πŸ”₯
  • --locale-independent-date-format β€” output the date in a locale independent format. the format is the same as executing:
date +'%Y-%m-%d %H:%M:%S %Z'

so no matter where in the world you are, the date stays consistent. global icon behavior πŸŒπŸ‘‘


πŸ’œ EXAMPLE πŸ’œ

run the following command in a shell when a backup is running:

watch amstatus CONF --summary --notaped

look at her go 🫢 (and yes, --notaped up there is the no form of the [--[no]…] situation from the synopsis β€” the options do be doing that πŸ’€)


πŸ”₯ EXIT CODE πŸ”₯

the exit code of amstatus is the ORed value of these, so multiple things can be true at once (multitasking icon):

  • 0 = success βœ…
  • 1 = error 😭
  • 4 = a dle failed πŸ’€
  • 8 = Don't know the status of a dle (RESULT_MISSING in the report) πŸ™ˆ
  • 16 = tape error or no more tape πŸ“ΌπŸš«

🌈 SEE ALSO 🌈

The Amanda Wiki: : http://wiki.zmanda.com/


πŸŽ€ AUTHOR πŸŽ€

Stefan G. Weichinger <sgw@amanda.org> β€” thank you for your service king πŸ«‘πŸ’–


and that's the whole page babes!! this was Amanda 3.5.4, dated 08/26/2026, and honestly? she ate. periodt πŸ’…βœ¨ go back up your stuff 🌸

πŸ“¦ where this page comes from