- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fbackup ending with warning how to make the good c...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 05:12 PM
04-18-2007 05:12 PM
fbackup ending with warning how to make the good check on a script ?
My title is a little complicated but here the situation. 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
Kate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 05:19 PM
04-18-2007 05:19 PM
Re: fbackup ending with warning how to make the good check on a script ?
If you want to check whether your backup is completed or not then just check /var/adm/fabckup/dates.
This file will tell you last successfully completed backup.
Thanks & Regards
Reshma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 05:22 PM
04-18-2007 05:22 PM
Re: fbackup ending with warning how to make the good check on a script ?
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
So far you have not awarded any points !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 05:28 PM
04-18-2007 05:28 PM
Re: fbackup ending with warning how to make the good check on a script ?
files in "/var/spool/sockets/pwgr", there's
always the "-e" option to "fbackup" ("man
fbackup").
Or you could save the output from "fbackup",
and "grep" it for _significant_ messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 05:32 PM
04-18-2007 05:32 PM
Re: fbackup ending with warning how to make the good check on a script ?
Cheers
LEt you know if I my script is working fine!
Thanks again.
Cheers
Kate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 05:41 PM
04-18-2007 05:41 PM
Re: fbackup ending with warning how to make the good check on a script ?
Now if your problem is resolved then you can close the thread & award answers with points.
All the Best & have a nice day
Thanks& Regards
Reshma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 05:43 PM
04-18-2007 05:43 PM
Re: fbackup ending with warning how to make the good check on a script ?
no my problem is not yet solved. I didn/t find the file /var/adm/fabckup/dates on my system do we need to put a specific options to have these files ?
Cheers
Kate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 05:49 PM
04-18-2007 05:49 PM
Re: fbackup ending with warning how to make the good check on a script ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 05:50 PM
04-18-2007 05:50 PM
Re: fbackup ending with warning how to make the good check on a script ?
[...]
If fbackup is used for incremental backups, a database of past backups
must be kept. fbackup maintains this data in the text file
/var/adm/fbackupfiles/dates, by default. Note that the directory
/var/adm/fbackupfiles must be created prior to the first time fbackup
is used for incremental backups. The -d option can be used to specify
an alternate database file. The user can specify to update this file
when an fbackup session completes successfully. [...]
Whether this actually solves your problem is
another question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2007 05:51 PM
04-18-2007 05:51 PM
Re: fbackup ending with warning how to make the good check on a script ?
Hi Kate,
If fbackup is used for incremental backups, a database of past backups must be kept. fbackup maintains this data in the text file /var/adm/fbackupfiles/dates, by default. Note that the directory /var/adm/fbackupfiles must be created prior to the first time fbackup is used for incremental backups. The -d option can be used to specify an alternate database file.
Please refer following document:
http://docs.hp.com/en/B2355-90681/fbackup.1M.html