1777014 Members
2502 Online
109062 Solutions
New Discussion юеВ

frecover

 
Mehmood Ansari
Frequent Advisor

frecover

I took fbackup from /DB/C002. Now I want to frecover to other directory /T002. How can I perform this. I run through sam it is recovering in same directory /DB/C002.
4 REPLIES 4
twang
Honored Contributor

Re: frecover

Did you try this,
Use SAM with...
Backup and Recovery ->
Interactive Backup and Recovery -> (choose tape device) -> (go to action menu option) -> Recover Files or Directories... -> (and on Set Additional Parameters..., choose "Place Files in Non-Root Directory"
and then, inform the directory that you can it files...
Ralph Grothe
Honored Contributor

Re: frecover

Step into the directory where you want to recover the fbackup archive to, and use the -X option togeter with the -r option in the frecover command (-f points to the device or file of your fbackup archive).
The -X option will extract relative to your cwd.
After extraction you may mv everything up the obsolete dirname, and rmdir the empty directories afterwards.
Madness, thy name is system administration
twang
Honored Contributor

Re: frecover

You can also use command line to do the recovery,
1)cd /targetdir
2)frecover -f /dev/rmt/0m -i /DB/C002 -xFX

use the frecover -X -x options to recover all to the directory /targetdir.
Mehmood Ansari
Frequent Advisor

Re: frecover

Hi Twanq

I was on vacation, after I came back I try with your command line, it solved my problem.
Thanks