How To:Ignore spurious messages from GNU Tar: Difference between revisions
No edit summary |
(update with glossary entries) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{How To Header}} | {{How To Header}} | ||
{{man|8|amgtar}} is an [[application]] available in Amanda 2.6.1 and later releases. Amgtar uses GNU tar to do backup and recovery. This application provides properties to treat GNU tar messages as success or warning or errors. In case of warnings, the backup run will be marked as "strange". | |||
== Configuration == | == Configuration == | ||
The application amgtar properties are defined in application-tool section in | The application amgtar properties are defined in application-tool section in {{man|5|amanda.conf}}. In the following example, amgtar will ignore all that has regular expression "file changed as we read it$". These messages are not mentioned in the {{man|8|amreport}} output and the backup will be considered as success. See [[How To:Use Amanda Applications on a Client]] for a more general description of configuring Amanda applications. | ||
define application-tool app_amgtar { | define application-tool app_amgtar { | ||
Line 16: | Line 15: | ||
application "app_amgtar" | application "app_amgtar" | ||
} | } | ||
Use dumptype "gtar_dump" in disklist file. | |||
Alternatively, you can mention it directly in disklist file. | Alternatively, you can mention it directly in disklist file. |
Latest revision as of 20:15, 1 January 2011
This article is a part of the How Tos collection.
amgtar(8) is an application available in Amanda 2.6.1 and later releases. Amgtar uses GNU tar to do backup and recovery. This application provides properties to treat GNU tar messages as success or warning or errors. In case of warnings, the backup run will be marked as "strange".
Configuration
The application amgtar properties are defined in application-tool section in amanda.conf(5). In the following example, amgtar will ignore all that has regular expression "file changed as we read it$". These messages are not mentioned in the amreport(8) output and the backup will be considered as success. See How To:Use Amanda Applications on a Client for a more general description of configuring Amanda applications.
define application-tool app_amgtar { plugin "amgtar" comment "amgtar" property append "ignore" "file changed as we read it$" } define dumptype gtar_dump { program "APPLICATION" application "app_amgtar" } Use dumptype "gtar_dump" in disklist file.
Alternatively, you can mention it directly in disklist file.
application { plugin "amgtar" comment "amgtar" property append "ignore" "file changed as we read it$" }
You can use specify "strange" and "normal" messages as properties for amgtar application.