Operating System - HP-UX
1832953 Members
2661 Online
110048 Solutions
New Discussion

to frecover only specific file

 
ng_7
Regular Advisor

to frecover only specific file

hi, friends,

need your help again. I am using fbackup command to backup my prod directory into \backup\prod., my command to do this was :
fbackup -f \backup\prod -i /prod -I /tmp/index

ok, if I want to restore only \prod\oraprod\proddb\8.1.7\temp into \u1\test, the command I use was :
cd \u1\test
db1:\u1\test\frecover -f \backup\prod -i \prod\oraprod\proddb\8.1.7\temp -xv

but I don't see anything in u1\test after extraction, please help to correct my command
thanks.

Regards
ng
3 REPLIES 3

Re: to frecover only specific file

ng,

I'm assuming that your use of '\' rather than '/' in your text is just a typo yes?

Anyway with the comnmand give above, you wouldn't see the contents written in /u1/test - they'd be restored to the exact same location you wrote them to. To have the files restored to your current working directory you must specify -X - the following should work:

frecover -f /backup/prod -i /prod/oraprod/proddb/8.1.7/temp -xXv

HTH

Duncan



I am an HPE Employee
Accept or Kudo
ng_7
Regular Advisor

Re: to frecover only specific file

thanks for your reply but I managed to restore it yesterday by below command

frecover -f /backup/prod -i /prod/oraprod/proddata -xFv
ng_7
Regular Advisor

Re: to frecover only specific file

thanks