Operating System - HP-UX
1753840 Members
9415 Online
108806 Solutions
New Discussion юеВ

Recovering multiple files using frecover

 
Dave Walley_1
Occasional Contributor

Recovering multiple files using frecover

Hi.

I am trying to recover multiple files all beginning with the same name i.e dw1*
from an fbackup tape and it is failing. I created a graph file and inserted
i /direname/dw1*

can anybody tell me what I am doing wrong.

I am using sam.

Thanking you.

Dave
2 REPLIES 2
Paul Heffels_1
Frequent Advisor

Re: Recovering multiple files using frecover

Hi Dave,

I have tried to do the same thing and got the message "frecover(3207):
additional argument:/tmp/xx000027163.s specified"
It seems you can't use wildcards in a graph. I tried to find a solution for
this in the knowledge tree and all but came up with nothing.
Dave Walley_1
Occasional Contributor

Re: Recovering multiple files using frecover

HP response center replied with the following

You will need to specify all the files individually or the directory
name.--OR--
Create another graph file that contains all the files that you require; like
this:1: create an index of the files on the backup tape
/etc/frecover -f /dev/rmt/0m -I /tmp/fb.index
2: copy index file in order to work with a new copy of it.
cp -p /tmp/fb.index /tmp/fb.use
3: create graph file containing only files needed to restore
cat /tmp/fb.use | grep "/direname/dw" > /tmp/fb.wanted
3: edit /tmp/fb.wanted so that:-
3a. it only conatains the wanted files to restore
3b. each line begins with i followed by a space
4: recover the files usning the graph file
/etc/frecover -oxv -f /dev/rmt/0m -g /tmp/fb.wanted