- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need help on 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
Discussions
Discussions
Forums
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
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
тАО05-11-2011 10:53 PM
тАО05-11-2011 10:53 PM
Re: Need help on frecover
From what HP-UX version? 11.23 frestore can't handle 11.31 fbackup.
>It's getting recovered only if I give "Y" option.
We need proof it's doing something with your bad tape.
What does this show: mt -f /dev/rmt/0m status
>So I want to make any change in my script
It's not your script that has a problem, it's the tape. (Unless you want to follow Bill's suggestions about error handling.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2011 11:51 PM
тАО05-11-2011 11:51 PM
Re: Need help on frecover
Version-11iv2
We are doing restoration daily using the catalog that is recovered everyday morning using the command frecover -xf dump.level? -g chennai.gfile.
So, Its evident that all the catalogs are getting recovered.
Is there any option in frecover to make it non-interactive.
Skip this "frecover(5420): not an fbackup volume; magic value is incorrect
frecover(5412): Do you wish to try to salvage this volume?"
But tell me is there anyway I can give Y for this "(^[yY]/^[nN])" using my script.
Thanks!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 03:22 AM
тАО05-12-2011 03:22 AM
Re: Need help on frecover
> Is there any option in frecover to make it non-interactive.
Bill already answered that question and gave you the solution when he wrote:
>> Your first error message "magic value is incorrect" means that the tape in the drive is written in some other format -- it is not an fbackup tape and frecover can do nothing with it.
You need to re-work your script to perform the up-front tests Bill described. Re-think your problem and re-factor your script.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 07:40 PM
тАО05-12-2011 07:40 PM
Re: Need help on frecover
Are you really really sure?
This may happen if: 11.23 frestore can't handle 11.31 fbackup.
The "magic value is incorrect" because it different but the rest of the tape is close enough to recover.
The solution is to only run this on 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2011 09:54 PM
тАО05-12-2011 09:54 PM
Re: Need help on frecover
Does tat mean there is no option in frecover to do tat??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2011 03:45 AM
тАО05-13-2011 03:45 AM
Re: Need help on frecover
> Does tat mean there is no option in frecover to do tat??
If, in fact, your archive was created on 11.31 and you attempting to recover on 11.23 or earlier, then, no, there is no option to force 'frecover' to recover the archive onto an earlier operating system. Look at the manpages for 'frecover' under the warnings section and you will find:
/* begin_quote */
Archives and files with formats and attributes that are unsupported on previous HP-UX releases could cause severe problems or unpredictable behavior if attempts were made to restore onto these systems. For this reason, fbackup creates tapes with a magic number that is only recognized on releases which support the features and format being archived. This prevents fbackup tape archives from being restored on earlier HP-UX systems than are supported. frecover still reads all tape formats so that fbackup tape archives created on earlier HP-UX systems can be restored.
/* endof_quote */
If, on the other hand you have inadvertently re-used the tape with a non-'fbackup' utility (tar, cpio, pax, etc.) then the 'fbackup' label is gone or corrupted and the ability to recover the archive data has been lost.
Once again, I'd take the approach Bill suggested and move on.
Regards!
....JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2011 07:41 AM
тАО05-13-2011 07:41 AM
Re: Need help on frecover
His original command showed that he was recovering from a file.
It would appear that the file backup being created is bad.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2011 08:29 AM
тАО05-13-2011 08:29 AM
Re: Need help on frecover
> Bob: His original command showed that he was recovering from a file.
That matters not. 'frecover' doesn't care whether the 'fbackup' archive is a tape or it's a file on a disk. The constraints, and the magic value header are the same.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2011 09:06 AM
тАО05-13-2011 09:06 AM
Re: Need help on frecover
Of course, 'frecover' is complaining about header, whatever the source.
My point is that that whatever creates this dump.level? file is what has recently changed.
Or something else is clobbering it.
Or it needs to be re-created.
Or....
bv
- « Previous
- Next »