Amanda log files/Amdump Logs: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(copied from parent article)
 
(man links)
Line 1: Line 1:
[[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.
{{man|8|amdump}} puts a trace of the actions in a file named '''amdump''' in the ''logdir'' directory which was specified in {{man|8|amanda.conf}}. {{man|8|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.
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.
Line 5: Line 5:
These log files can be used for debugging an amdump or amflush run, although the [[Amanda_log_files/Debug_Logs|debug logs]] may also be helpful.
These log files can be used for debugging an amdump or amflush run, although the [[Amanda_log_files/Debug_Logs|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.
The most recent of the four files ''amdump, amflush, amdump.1 amflush.1'' is read by the {{man|8|amstatus}} command.  These files can also be analyzed by {{man|8|amplot}} to visualize the behavior of Amanda.

Revision as of 20:58, 30 June 2008

amdump(8) puts a trace of the actions in a file named amdump in the logdir directory which was specified in amanda.conf(8). amflush(8) 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(8) command. These files can also be analyzed by amplot(8) to visualize the behavior of Amanda.