Operating System - HP-UX
1829587 Members
1823 Online
109992 Solutions
New Discussion

frecover no response - syntax correct ?

 
SOLVED
Go to solution
mkc_2
New Member

frecover no response - syntax correct ?

Hi, I am trying to recover data on a different server from a tape that was made with fbackup. Can list the contents with the frecover -I option.
Commands used:
"cd /"
"frecover -xXoi -f /dev/rmt/0m -v" but it just sits there. The frecover process is in sleep mode when I look at it.

I am trying to recover files to a directory e.g. /aaaa/bbbb which exists and is currently empty. When I list the contents I can see /aaaa/bbbb and all its files.

Any ideas ?
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: frecover no response - syntax correct ?

Shalom,

Try using sam to develop your command line syntax.

Do the recovery with sam. If it hangs, probably there is something wrong with the tape, if not, its probably your syntax.

Sam has a view mode after a command is run that lets you see the command line it used. I used this to learn several sysadmin functions.

I've never personally had a problem using a GUI for recovering individual files. Trying to script this is nearly useless because you almost never restore the same files twice.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Adisuria Wangsadinata_1
Honored Contributor

Re: frecover no response - syntax correct ?

Hi MKC,

Since you specified to recover files to directory e.g. /aaaa/bbbb, so the command should be :

# frecover -xov -f /dev/rmt/0m -i /aaaa/bbbb

OR

# cd /aaaa/bbbb
# frecover -xXvf /dev/rmt/0m

Hope this information can help you.

Cheers,
AW




now working, next not working ... that's unix
mkc_2
New Member

Re: frecover no response - syntax correct ?

Thanks for the replies. Kicked it off now again via SAM. Haven't used frecover before so excuse the inexperience.
Got a message
"Starting file recovery..."
What I want to recover is way down the tape, couple GB of files ahead of it. Is it a case of sitting and waiting ?
In another session I can see the frecover process appears to be sleeping - is this normal ?
Thanks.
Steven E. Protter
Exalted Contributor

Re: frecover no response - syntax correct ?

Shalom,

Its a big tape, so there can be long pauses before anything interesting happens.

The tape has an index on it, frecover reads that based on your file selection and then tells the tape drive, go to this point on the tape.

At that point until a reply of "I'm there" happens the frecover process can go to sleep.

If there is a long delay before the file list comes up then we have a problem with the tape, hardware or something else.

/var/tmp/index

Thats the name of the file frecover creates with a list of files on the tape. If that isn't created then there is trouble.

If the file is created and you've selected files for recovery then you have time for other work or a coffee break.

:-)
Thanks for rewarding my earlier efforts.

I want nothing more than your sucess.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com