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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fbackup endind with wraning how to check on a script fbackup is good

Status
Not open for further replies.

oliverbeat

Technical User
Sep 3, 2004
86
0
0
NZ
Hi,
I am writing a script that is doing a fbackup during the nigth and before it shutdown the database then run the fbackup then I would like to check the status that the fbackup is fine but I always have warning (about socket: fbackup(1102): WARNING: unable to stat file /var/spool/sockets/pwgr/ etc... ) so my fbackup ending with warning and if I checked the $? it is different of 0
So how can I check that the fbackup was good and complete my script with some checks...
Or how can I avoid the warning errors (do I have to stop )

Just for information I have to use fbackup.

Thanks in advance for help.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top