1845483 Members
2675 Online
110244 Solutions
New Discussion

frecover

 
Madhu_17
Regular Advisor

frecover

Hello,

I would like to take fbackup on system a and i would like to restore few oracle instance related files on system b. I have created a graph file by putting i for all the required files.

What's the command to use at system b? i would like to restore in a particular directory "/X" with retaining file ownership and w/o absolute path.

Thanks,
Madhu
11 REPLIES 11
Arunvijai_4
Honored Contributor

Re: frecover

Take a look at this thread,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=913218

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Luk Vandenbussche
Honored Contributor

Re: frecover

Hi,

It is easy to start a frecover through sam

Backup and recovery
Interactive backup and recovery

Menu action, frecover files or directories.
Here you can choose to use another location
Madhu_17
Regular Advisor

Re: frecover

Thanks..

I am trying to recover using sam, but after restoring 2 files it's not going ahead.. that's what i am wondering and want to use command level.
Luk Vandenbussche
Honored Contributor

Re: frecover

Do you receive any error when the restore stops?
Madhu_17
Regular Advisor

Re: frecover

I am not getting any error and also SAM window is not coming out also..

howmuch it takes genreally.. just for 2 KB it's taking lot of time.. we have DLT4000 drives on both the servers and with the same 10.20 OS
Luk Vandenbussche
Honored Contributor

Re: frecover

Hi,

Is the tape optional positioning during the wait time, do you change a capacity change with 'bdf' during restore

From command line

cd /x
frecover -x -F -i /filesa -f /dev/rmt/0m
Raj D.
Honored Contributor

Re: frecover

Hi Madhu ,

Check this :
# cd /desired_dir
# frecover -f /dev/rmt/0m -i /dir/file -xvF

-x Restores files and directories relative to the current working directory.
-F recover files not directories.

for example /var/adm/syslog/syslog.log recovered from tape and you are in /opt/mydir/ the result would be /opt/mydir/syslog.log .

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Madhu_17
Regular Advisor

Re: frecover

I am working remotely.. so could not be able to see drive status and the file is not getting updated while restore.

will it take around 30 min to restore a single file?
Madhu_17
Regular Advisor

Re: frecover

It looks like my SAM backup is working fine.. w/o any verbose action for long time, i thought it was hanging.. but suddenly after 30-45 min.. it has restoreed few files..
Mark Ellzey
Valued Contributor

Re: frecover

Madhu,

Keep in mind that tape is a serial device. If you are trying to restore a couple of files from a full system backup, it could take a while. The files you are looking for could be anywhere on the tape.

Let's just assume that the files you wish to restore are near the beginning of the tape. When you execute frecover, the files will be restored, but frecover will keep running, appearing to be hung. What's really going on is that frecover is simply reading to the end of the tape. Thus, if you have a LOT of files on the tape, it could take a while.

Regards,
Mark
Madhu_17
Regular Advisor

Re: frecover

Got valuable suggestions.