1825766 Members
2143 Online
109687 Solutions
New Discussion

Re: frecover

 
Tony Kim
Occasional Contributor

frecover

I have some files backup up on tape using absolute path names (/oracle). How do I change the path of files being restored (/temp_dir/oracle)
5 REPLIES 5
Paul Thomson_2
Super Advisor

Re: frecover

Have you tried
cd /temp_dir
frecover -vXx -f tape_device -i /oracle
Argh ye land lovers !
Darrell Allen
Honored Contributor

Re: frecover

Hi,

man frecover and look at the "-X" option.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
charudatta
Occasional Advisor

Re: frecover

in recover use option -X to recover different dir than absolute path
RTFM
Wilfred Chau_1
Respected Contributor

Re: frecover

cd to /temp_dir/oracle

frecover -vxF -f /dev/rmt/0m -i /oracle
Steve Steel
Honored Contributor

Re: frecover

Hi

As shown before here is the solution.

Restore a complete directory

/etc/frecover -xi/directory
/etc/frecover -x -i/directory1 -i/directory2

When restoring a directory, `frecover' will not overwrite an existing file, unless the -o option is used.
It may be nice to recover relative somewhere in a directory like /tmp/local.
To restore relative, you must go first to the directory with cd, and then
use the X or F option.

cd /tmp/local; /etc/frecover -xvXi /directory
(with directory tree path )
cd /tmp/local; /etc/frecover -xvFi /directory
(without path, only files names)


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)