Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tar error messages

Status
Not open for further replies.

johndrake

Technical User
Jul 25, 2002
97
Hi All,

I've written a script that will search for the word
"Error" in a logfile that was created when the system performed a backup using the tar command. I am trying to
create a list of error messages for my script to look for
in the logfile. Does anyone know what error messages tar
generates so that I can created a comprehensive listing of
strings to search for?

Thank you,

Joe
 
Try this to display the message catalog for the tar command:

dspcat tar.cat
 
hi,

why not check the tar-backup job itself with an "echo $?" for each tar you use in the script? if it runs without an error, it will return a value of "0"; other values will be errors. this might be easier than to gather a complete list of possible error messages produced by tar.

markus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top