amstatus(8)

amstatus8

Display the state of an amanda run

Usage

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

Overview

Amstatus gives the current state of the Amanda run specified by the config configuration. If there is no active Amanda running, it summarizes the result of the last run. It may also be used to summarize the results of a previous run.

See the amanda(8) man page for more details about Amanda.

Options

All options may be abbreviated to the shortest non-ambiguous sub-string. If no options are given, everything is displayed.

[--config] config

Specify the Amanda configuration you want to display the state for.

--file amdumpfile

Specify an alternate file instead of the amdump or amflush file.

--detail

Display a detail of each dles.

--summary

Display a summary of the state of the run.

--taped

Display each tape used in the summary of the state of the run.

--stats|statistics

Display statistics about active-time of taper and dumpers.

--locale-independent-date-format

Output the date in a locale independent format. The format is the same executing: date +'%Y-%m-%d %H:%M:%S %Z'

Examples

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

    watch amstatus CONF --summary --notaped

Exit code

The exit code of amstatus is the ORed value of:

 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

Releases

13 releases since Debian 2.2 (Potato); the text changed 10 times.

  1. 2.2
  2. 3.0
  3. 3.1
  4. 4.0
  5. 5.0
  6. 6.0
  7. 7
  8. 8
  9. 9
  10. 10–12
  11. 13

--detail since Debian 10 (Buster); --locale-independent-date-format since Debian 6.0 (Squeeze); --taped since Debian 13 (Trixie).

--dumping until Debian 9 (Stretch); --estimate until Debian 9 (Stretch); --finished until Debian 9 (Stretch).

Author

Stefan G. Weichinger <[email protected]>

From amanda-common 1:3.5.4-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.