Operating System - HP-UX
1833016 Members
2683 Online
110048 Solutions
New Discussion

Re: problem with frecover

 
SOLVED
Go to solution
William Pribble
Frequent Advisor

problem with frecover

I am trying to restore a file from one of our remote sites. The command they use is -0 -v -f /dev/rmt/1hc -i ./ -e /usr8/a/testfile -c /a/script/fb_config >>/dev/null 2>/a/script/buper.tar

When I try to recover it just tells me that the diretory was not recovered. When I tried to read the volume just to see what was on the tape, it stated not fbackup volume unable to read volume header.

Please help....
9 REPLIES 9
Robert Gamble
Respected Contributor

Re: problem with frecover

Elaine,

I see a potential issue with the command line they are using. After the '-i' is a './'. That would indicate to me that they are backing up the current working directory, and not '/'.

If 'frecover -V' returns the message you indicated, then you have an unreadable tape.

How often are the tape drives cleaned & tested for reliability ?

Good Luck!
S.K. Chan
Honored Contributor

Re: problem with frecover

If you're getting .."not fbackup volume".."unable to read volume header" and if you're very sure this is a fbackup format tape then you probably use the wrong device file ..
/dev/rmt/1hc.

Try with /dev/rmt/1m
Kelli Ward
Trusted Contributor

Re: problem with frecover

This message might also indicate that a different archive system was used such as tar or cpio.
If you did not personally create the backup and know for fact fbackup was used, you might want to verify this before assuming you have a defecive backup.
Maybe you'll be lucky.
If your trying to pull from a tape make sure the write protect tab is closed. (Can't remember if a tape was mentioned. Short term memory is really going.) ;)
Good luck!
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
pap
Respected Contributor

Re: problem with frecover

Hi,
Are you sure that the backup was done successfully?

Please ask the perosn who took the backup and also ask him to check the backup log file i.e fbackupfiles.


There could be another reason also, version of fbackup mismatch between remote system and your current system can lead to this problem. Please be sure to install require fbackup patches in your machine to have backward compatibility with your fbackup versions and then try to restore your backup. If this is the reason, you will definatelly restore the data.

Also let us know what was the OS Versions in both the cases I mean backup and restore ?


If you are running HP-UX 11.0 on restore machine use this patch PHCO_25424

-pap
"Winners don't do different things , they do things differently"
William Pribble
Frequent Advisor

Re: problem with frecover

The backup version is 10.20. The restore version is 11.00. When I did a frecover -I, I could see a list of the files.
William Pribble
Frequent Advisor

Re: problem with frecover

The backup version is 10.20. The restore version is 11.00. When I did a frecover -I, I could see a list of the files. If they use a ./ should I use one in my graph file if I am just trying to restore a certain directory? Thanks
William Pribble
Frequent Advisor

Re: problem with frecover

PHCO_25424 is installed
S.K. Chan
Honored Contributor
Solution

Re: problem with frecover

It sounds like you're on the right track, bootom line you MUST use the same path that you see in the index file when you do your recovery. Say if you see ..
./opt/apps/dirA
./opt/apps/dirA/fileA
./opt/apps/dirA/fileB
....

And if you want to recover everything under /opt/apps/dirA you would do ..

# cd /
# frecover -f /dev/rmt/1hc -X -i ./opt/apps/dirA
==> Using -X option will do relative recovery, meaning from where yiu're at, it'll create opt, then apps, then dirA and so on.

If you want to se the graphfile just put the path in it and run as such ..

# frecover -f /dev/rmt/1hc -X -g /tmp/graphfile

hope this helps ..
William Pribble
Frequent Advisor

Re: problem with frecover

Thanks everyone for your help. Frecover is working now. Thanks...