- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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-09-2011 06:05 AM
тАО05-09-2011 06:05 AM
Need help on frecover
I have done a script for doing a daily activity. The script issues frecover command if a file is present everyday morning. I am using that script for past 4 months without any issues.
This is the command issued by the script.
root:\>frecover -xf dump.level? -g chennai.gfile
I get the output of this script in mail.
Recently, when I issue this command we are getting as below:
bkpsvr:root-/oracle/08May11]frecover -xf dump.level? -g chennai.gfile
frecover(5420): not an fbackup volume; magic value is incorrect
frecover(5412): Do you wish to try to salvage this volume? (^[yY]/^[nN])
My script has no purpose, because now i have to give the option N for the command to proceed. Sometimes its promting for Y/N 3 or 4 times.Is there any other way to give the option N in the command itself.
Kindly help.
- Tags:
- frecover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2011 06:18 AM
тАО05-09-2011 06:18 AM
Re: Need help on frecover
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2011 06:19 AM - last edited on тАО07-07-2011 01:38 PM by Kevin_Paul
тАО05-09-2011 06:19 AM - last edited on тАО07-07-2011 01:38 PM by Kevin_Paul
Re: Need help on frecover
you could supply the "N"s or "Y"s with an echo like this:
# echo "N" | frecover ..
but I don't think this would be a solution. You need to look after why you are getting this message. From this itrc post:
http://h30499.www3.hp.com/t5/System-Administration/fbackup/m-p/4729465#M386317
it seems to me that the tape isn't an frecover tape.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2011 06:39 AM
тАО05-09-2011 06:39 AM
Re: Need help on frecover
Please find my uname -a output.
bkpsvr:root-/]uname -a
HP-UX bkpsvr B.11.23 U ia64 2564450715 unlimited-user license
I tried the echo command. It didn't work.
Even this happens because of any backup issue, I won't be able to interfere in that.
So, Please help me with the command to recover it automatically.
Thanks in Advance!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2011 08:36 AM
тАО05-09-2011 08:36 AM
Re: Need help on frecover
cat chennai.gile | awk '{print $1}'
frecover -xf .... -g $i
And, then receover the files one by one within the script only.
Thanks,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2011 11:18 AM
тАО05-09-2011 11:18 AM
Re: Need help on frecover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2011 04:45 PM
тАО05-09-2011 04:45 PM
Re: Need help on frecover
This error is quite clear: the tape is not an fbackup tape and cannot be read by frecover. Somebody has destroyed your backup tape. If you do not eject the tape immediately after fbackup runs, then anyone with write permission for the tape drive can destroy the entire tape with a tar, cpio or even a dd. Your script should change to run frecover -V - to read the header. If frecpver cannot read the header, it will return with an error code. Do this first, then if successful, run your script to check for the file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2011 08:23 PM
тАО05-09-2011 08:23 PM
Re: Need help on frecover
I am not able to understand wat exactly you mean. Can you give me the exact command.
Hi all,
Please find my frecover -V output.
bkpsvr:root-/oracle/09May11]frecover -V dump.level1
frecover(5403): Unable to open or identify device at /dev/rmt/0m
frecover(5405): unable to open /dev/rmt/0m
frecover(5406): Do you wish to continue? (^[yY]/^[nN]) y
frecover(5432): Media rewind failed
frecover(5402): failed close on device /dev/rmt/0m
frecover(5404): Press return when the next volume is ready on /dev/rmt/0m:
When issue the command manually, if I give Y, I am able to extract.
Kindly help me with the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2011 08:30 PM
тАО05-09-2011 08:30 PM
Re: Need help on frecover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2011 11:09 PM
тАО05-09-2011 11:09 PM
Re: Need help on frecover
We are getting backup from another team. I won't be able to get the script for the backup. Hope they are using a tool for backup.We have to recover it.
I have writted a script which issue frecover command everyday.
Now the issue it recently I have been prompted for Y/N so that my script is unable to recover it.
I need a option to make it non-interactive.
Kindly help.