Operating System - HP-UX
1829816 Members
1790 Online
109993 Solutions
New Discussion

Re: Warning messages from fbackup

 
John Walker_1
Advisor

Warning messages from fbackup

Canyone advise whether or not you can filter out the warning messages that fbackup generates when a file is not backed up, ie:fbackup(3005): WARNING: file number 310 was NOT backed up??

5 REPLIES 5
Deepak Extross
Honored Contributor

Re: Warning messages from fbackup

Hi,
You can always redirect stderr to /dev/null if you want to suppress errors.
Anyway, this warning indicates that the file was moved *after* fbackup started and *before* it could reach the specified file. If this was a temporary file of some kind, you can probably ignore the warning.
Deepak Extross
Honored Contributor

Re: Warning messages from fbackup

And if you want to blindly filter out these warnings, there's always
grep -v "fbackup\(3005\)\: WARNING"

HTH,
Deepak.
John Walker_1
Advisor

Re: Warning messages from fbackup

I know I can pull them out afterwards, I just wondered if they can be prevented from being put int the log. I dont want to suppress all warnings as some can be useful but this one isnt! - thanks anyway.
Paula J Frazer-Campbell
Honored Contributor

Re: Warning messages from fbackup

John

Are you backing up tmp dirs ?

/tmp
/var/tmp

Is so why?

Paula
If you can spell SysAdmin then you is one - anon
Mark Vollmers
Esteemed Contributor

Re: Warning messages from fbackup

John-

You can take the log after backup runs and pull out the items and save it somewhere, using that new file as the copy you look at. Do you normally have a lot of these? I get one or two with my backups. If you have enough of them that it makes looking over the results difficult, I'd have to agree with the others and say that maybe the best course would be to leave the log intact (there might be a file not backed up that you actually care about someday) and try to avoid backing up those directories where your files appear (temp locations). Just a thought.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"