Amanda log files: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
No edit summary
 
m (Fix broken links for Amanda log files)
 
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Backup server==
Amanda produces several types of log files, with distinct purposes.
*  amdump.<run #> for each run for each amanda configuration. This log file is created in the same directory as the configuration
amanda.conf


This log file can be used for debugging an amdump run. This log file is read by [[amplot]] and [[amstatus]] command. amdump.1 contains the
* [[Amanda_log_files/Debug Logs|Debug Logs]] ({{file|{server,client}/''config''/''prog''.YYYYMMDDHHMMSS.debug}}) contain debugging messages that are useful for finding bugs in Amanda.
most recent run information.
* [[Amanda_log_files/Amdump Logs|Amdump Logs]] ({{file|amdump.N}} or {{file|amflush.N}}) contain a description of amdump's actions, parsed by amstatus. Amflush has a similar mechanism.
 
* [[Amanda_log_files/Trace Logs|Trace Logs]] ({{file|log.YYMMDDHHMMSS.N}} or {{file|log.YYYYMMDD.N}}) contain specially formatted log messages about a run which can later be read by other Amanda applications to find out what Amanda did during the run.
* log.<year><month><day>.<run #> for each run for each configuration. This log file is created in the directory specified by
* Syslog may also contain errors from ''inetd'' or ''xinetd'', or hardware errors indicating problems with hard drives, tape changers, tape drives, etc.
"logdir" parameter in the amanda.conf
{{Languages}}
 
run number is 0 for the most recent run. This log file is used for generating backup reports ([[amreport]]) Each line in the file begins with a keyword. Depending on the keyword, rest of the line is parsed. Backup statistics can obtained from the log file.
 
* System log (logged by syslogd utility). This log may contain errors regarding xinetd configuration. It can also contain device error
logs.
 
==Backup client==
 
* amandad/amcheck/sendsize logs can be found in /tmp/amanda directory. The first part of the filename contains the command name.

Latest revision as of 18:16, 16 December 2023

Amanda produces several types of log files, with distinct purposes.

  • Debug Logs ({server,client}/config/prog.YYYYMMDDHHMMSS.debug) contain debugging messages that are useful for finding bugs in Amanda.
  • Amdump Logs (amdump.N or amflush.N) contain a description of amdump's actions, parsed by amstatus. Amflush has a similar mechanism.
  • Trace Logs (log.YYMMDDHHMMSS.N or log.YYYYMMDD.N) contain specially formatted log messages about a run which can later be read by other Amanda applications to find out what Amanda did during the run.
  • Syslog may also contain errors from inetd or xinetd, or hardware errors indicating problems with hard drives, tape changers, tape drives, etc.

Other languages: [[::Amanda log files|English]] {{#ifexist: {{#if: | | {{#if: | :}}Amanda log files}}/Fr |  • {{#if: |français| [[::Amanda log files/Fr|français]]}}|}}

{{#ifexist: {{#if: | | {{#if: | :}}Amanda log files}}/Zh-cn |  • {{#if: |中文(中国大陆)| [[::Amanda log files/Zh-cn|中文(中国大陆)]]}}|}}