- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- return value of frecover
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
03-08-2006 08:34 PM
03-08-2006 08:34 PM
what are the return values of frecover ?
The man of fbackup gives the return values but nothing in the frecover man.....
I have tried different scenarios and I have obtained only 0 (success) or 1 (problem) for frecover.
Are other return values existing ?
Best regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 08:47 PM
03-08-2006 08:47 PM
Re: return value of frecover
0 upon normal completion,
1 if it is interrupted but allowed to save its state for possible restart
2 if any error conditions prevent the session from completing.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 09:12 PM
03-08-2006 09:12 PM
Re: return value of frecover
I'am not sure for the return value 2.
I have tried this scenario.
During the frecover command (frecover -r -f /path/backup_file -v), I erase the backup file ( > /path/backup_file) for simulating a DLT or disk problem. The frecover exits with this message :
frecover(2104): zero length read from disk file. Frecover exiting
But the exit code is 1 and not 2.
Why not 2 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 12:12 AM
03-20-2006 12:12 AM
Re: return value of frecover
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 12:22 AM
03-20-2006 12:22 AM
Re: return value of frecover
the full list of errors seems to be accessable via:
dumpmsg /usr/lib/nls/C/fbackup.cat | more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 12:28 AM
03-20-2006 12:28 AM
Re: return value of frecover
sorry, previous message was fbackup error.
Frecover at:
dumpmsg /usr/lib/nls/C/frecover.cat | more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 12:53 AM
03-20-2006 12:53 AM
Re: return value of frecover
Thanks for your response.
No problem for fbackup.cat instead of frecover.cat.
In fact, this command (i don't know it) gives the error code but I just want to know the RETURN VALUES or exit code obtained with echo $? (like in the frecover man with 4 values)
yogeeraj says :
"0 upon normal completion,
1 if it is interrupted but allowed to save its state for possible restart
2 if any error conditions prevent the session from completing."
But I never have the 2 value during my check, only 0 for success and 1 for problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 03:16 AM
03-20-2006 03:16 AM
Solutionman frecover does not list any return codes. So I would say there is no list.
fbackup and frecover have been around from the days of 1Gb file system limits and have 'organically grown' i.e. without full documentation.
As you said, you have only found 0(success) or 1(problem), as have I.
So those are the return values you can code for.
If you want to be more specific with error identification, my previous answer should give you enough error codes to go with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 03:42 AM
03-20-2006 03:42 AM
Re: return value of frecover
I agree with you and I close the thread.
Best regards