1832567 Members
5455 Online
110043 Solutions
New Discussion

Re: fbackup and frecover

 
Chen Yingjie
Frequent Advisor

fbackup and frecover

I am using fbackup and frecover to backup and resotre ORACLE file.
But when I use frecover to store ORACLE file, I found all file's OWNER:GROUP have been changed to root:root. Is there something wrong in my command?

fbackup command:
fbackup -f /dev/rmt/2m -v -i /PRODUCTS > /tmp/bkuplog 2>&1

frecover command:
cd /
frecover -x -X -i /PRODUCTS -f /dev/rmt/2m

Thanks in advise.

chen
4 REPLIES 4
Anthony Goonetilleke
Esteemed Contributor

Re: fbackup and frecover

Try running thre recovery with the -A option
Minimum effort maximum output!
David Shore
Occasional Contributor

Re: fbackup and frecover

I think the -X is where the problem lies. It looks like you are trying to restore the files back to the same location they were in when you backed them up (/PRODUCTS), correct? If so you don't need to include the -X (you still need the -x but not the -X). Try:
frecover -x -i /PRODUCTS -f /dev/rmt/2m
Nadeem Siddiqui
New Member

Re: fbackup and frecover

frecover -x -o -i /PRODUCTS -f /dev/rmt/2m
shoud work, however if you fail to restore the ownership I will suggest you bring the machine to the single user mode and try...
Be all you can be
Insu Kim
Honored Contributor

Re: fbackup and frecover

Check both permission and ownership of directory, /PRODUCTS to see if it has properly configred or delete directory, /PRODUCTS before you use frecover command.

Try to use SAM, go through Backup and Recovery, then "Interactive backup and Recovery" and go into "Recover files or directories" after you select DDS device that you want to use.
At the bottom, You will see "Set additional parameters..." which contains an option "Preserve Original File Ownership."
Select that item and try to recover again.
Never say "no" first.