Amanda log files/Amdump Logs

From wiki.zmanda.com
Revision as of 18:38, 31 May 2007 by Dustin (talk | contribs) (copied from parent article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Amdump puts a trace of the actions in a file named amdump in the logdir directory which was specified in amanda.conf. Amflush outputs the trace of actions in a file name amflush in the same directory.

When the dump or flush is finished, the file is renamed to amdump.1 or amflush.1. The name of the older files is also rotated: the previous file amdump.1 is then found under amdump.2 etc. so that the most recent file has the lowest number. Amanda keeps roughly the last tapecycle worth of them.

These log files can be used for debugging an amdump or amflush run, although the debug logs may also be helpful.

The most recent of the four files amdump, amflush, amdump.1 amflush.1 is read by the amstatus command. These files can also be analyzed by amplot to visualize the behavior of Amanda.