Amanda log files

From wiki.zmanda.com
Revision as of 01:17, 2 December 2005 by Paul.bijnens (talk | contribs) (Warning about not deleting log.YYYYMMDD.N files.)
Jump to navigation Jump to search

Backup server

  • amdump.<run #> for each run for each amanda configuration. This log file is created in the same directory specified by the "logdir" parameter in the amanda.conf file.

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 most recent run information.

  • log.<year><month><day>.<run #> for each run for each configuration. This log file is created in the directory specified by

the "logdir" parameter in the amanda.conf file.

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.

These log files are also used to locate the dumps on tapes with "amadmin xx find".

Do not delete these log files. Amanda takes care of the them when they are not needed anymore.

  • 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/runtar/rundump logs can be found in the AMANDA_DBGDIR directory. This directory is defined at compile time and can be found by executing "amadmin x version". The default is /tmp/amanda. The first part of the debugfilename contains the command name.