1834208 Members
2434 Online
110066 Solutions
New Discussion

fbackup

 
SOLVED
Go to solution
Prathap_1
Advisor

fbackup

Hi
Can anyone give me the syntax of extracting the desired file from the tape if the backup was performed using fbackup.

Thanks
Prathap.
3 REPLIES 3
S.K. Chan
Honored Contributor
Solution

Re: fbackup

First you want to retrieve the index to find out the exact path of the file that was backed up, the you frecover it. Example ..

# cd /tmp
# frecover -I index -f /dev/rmt/0m
# cat index | grep
==> take note of the path
# frecover -x -f /dev/rmt/0m -F -i

This will retrive that particular file and place it in /tmp.
Sanjay_6
Honored Contributor

Re: fbackup

Hi Pratap,

I normally use a graph file, say the graph file "gph.file" is in /tmp

the file is in format,

i /path/file_to_extract

Then do a frecover and use the graph file,

frecovery -Fxv -f /dev/rmt/0m -g /tmp/gph.file

since the -F option is used, the file will get extracted to the current directory and not to its original path. Do a "man frecover" for more info.

Hope this helps.

regds
Krishna Prasad
Trusted Contributor

Re: fbackup

Here is one without a graph file

frecover -x -f /dev/rmt/0m -i /tmp/yourfile -o -v.

The -o will overide /tmp/yourfile if it exists.
Positive Results requires Positive Thinking