1829734 Members
2181 Online
109992 Solutions
New Discussion

Fbackup error 4301

 
Paul Clark_3
Occasional Advisor

Fbackup error 4301

I am working on a L-Class hp-ux 11.0 OS
Patched to Sept2001

Having problems with restoring from tape created by fbackup.

Command used for frecover
frecover -xXg fgraph.txt -f :/dev/rmt/0m

but this is still returning 4301 error.
I used this yesterday to pick up a file that was not recovering from the tape. This worked successfully.
HOwever today I have tried to recover more files from the tape and am still getting error 4301. Why?
The recover is restoring the dirctory the files are in but not the files themselves.???
The Joy of HP-UX ain't nothing like it!
6 REPLIES 6
Paula J Frazer-Campbell
Honored Contributor

Re: Fbackup error 4301

Hi

Try using -v which may give you more info , also get the index of the files on the tape and ensure that your files are on the tape.

Paula
If you can spell SysAdmin then you is one - anon
steven Burgess_2
Honored Contributor

Re: Fbackup error 4301

Hi Paul

Your messages are defined in

/usr/lib/nls/msg/C/frecover.cat and frecover respectively

4301 reads

(4301): %s not recovered from backup media

As Paula stated, create an index of your tape to check the files exist

frecover -I /tmp/tape.idx

HTH

Steve
take your time and think things through
Paul Clark_3
Occasional Advisor

Re: Fbackup error 4301

I already have run the -I option and I know the files are on the tape but they are not being restored for some reason.
I know it makes no sense, I have even tried to use the hostname with the -f option and this still is not working.
The backup was taken from one server and put onto another. However the other system is a clone of the orginal.
The Joy of HP-UX ain't nothing like it!
Darren Prior
Honored Contributor

Re: Fbackup error 4301

Hi Paul,

Try running frecover -rovNf /dev/rmt/0m >/tmp/recoverout

This will read the entire tape and produce a listing of all the files present in the backup. Check the /tmp/recoverout file for your problem files.

I did see a similar problem a couple of years back where certain files could not be pulled back from the tape, but using the hostname:device file method worked. I'm pretty sure this was fixed in a subsequent patch.

regards,

Darren.
Calm down. It's only ones and zeros...
Ian Lochray
Respected Contributor

Re: Fbackup error 4301

I once had a very similar problem and the issue turned out to be the fact that I had logged on as me and then done an su to root. If I tried to frecover the file like this it did not work. If, however, I logged on directly as root then the file was recovered.
Paul Clark_3
Occasional Advisor

Re: Fbackup error 4301

Many thanks for you reply but I have already done this and the files are on the tape.
I am going to have to raise this as a call to HP.

Thanks for all your replies

Paul
The Joy of HP-UX ain't nothing like it!