1834665 Members
2960 Online
110069 Solutions
New Discussion

frecover problem

 
SOLVED
Go to solution
mariuszk
New Member

frecover problem

I am fairly new to UNIX and have a problem recovering some files on my system:
when I tried to recover single file to /tmp I get:
# frecover -x -F -i /exportfs/dbexport/onconfig.spi/finplus/finplus.exp/pctl_00252.unl
frecover(4301): /exportfs/dbexport/onconfig.spi/finplus/finplus.exp/pctl_00252.unl not recovered from backup media

I tried to recover the whole directory:
# frecover -x -vF -i /exportfs/dbexport/onconfig.spi/finplus
frecover(4301): /exportfs/dbexport/onconfig.spi/finplus not recovered from backup media

Below is part of the contents of the tape:
./exportfs/dbexport/onconfig.spi/finplus/finplus.exp/pclst00638.unl
-rw-rw--w- informix informix ./exportfs/dbexport/onconfig.spi/finplus/finplus.exp/pctl_00251.unl
-rw-rw--w- informix informix ./exportfs/dbexport/onconfig.spi/finplus/finplus.exp/pctl_00252.unl
-rw-rw--w- informix informix ./exportfs/dbexport/onconfig.spi/finplus/finplus.exp/pdedt00336.unl
-rw-rw--w- informix informix

Any ideas? In all cases I have write permission to directory I am recovering to.
HP-UX Version: B.11.11
Thank you


8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: frecover problem

Note that your -i specifies an absolute path whereas your listing specifies a relative path. Cd to your desired parent directory and then specify relative paths in your frecover and you should be good to go.
If it ain't broke, I can fix that.
mariuszk
New Member

Re: frecover problem

Bill,

i am trying to restore files to different directory than original.
The listing is ./exportfs... but the absolute path is /exportfs...

Thanks,
Mariusz
mariuszk
New Member

Re: frecover problem

A. Clay Stephenson

Sorry about your name in my previous post.

Regards,
Mariusz

A. Clay Stephenson
Acclaimed Contributor

Re: frecover problem

Then my answer is exactly the same as before.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: frecover problem

... also have a look at the -X frecover option.
If it ain't broke, I can fix that.
mariuszk
New Member

Re: frecover problem

I have tried:
>pwd
/tmp
>frecover -vxX -i /exportfs/dbexport/onconfig.spi/finplus/finplus.exp/pctl_00252.unl
frecover(4301): /exportfs/dbexport/onconfig.spi/finplus/finplus.exp/pctl_00252.unl not recovered from backup media

Should I use -i./exportfs...?
Patrick Wallek
Honored Contributor

Re: frecover problem

YES. Your listing show ./exportfs/dbexport.... so that is what you need to use when trying to recover.
mariuszk
New Member

Re: frecover problem

Thank you both of you guys, I don't know what I was thinking there. &-)