Operating System - HP-UX
1753814 Members
7850 Online
108805 Solutions
New Discussion юеВ

fbackup/frecover config file

 
Managed Services
Frequent Advisor

fbackup/frecover config file

Hi all

I need some clarification on the significance of the config file for fbackup/frecover.

This is the command I execute in a backup script (DLT drive):
/usr/sbin/fbackup -f /dev/rmt/2m -V $HOMEDIR/VolHead.log -I $HOMEDIR/Index.log -
c $HOMEDIR/fbackupConfig -n -i . > $LOG1 2>&1

These are the contents of the config file:
blocksperrecord 512
records 64
checkpointfreq 1024
readerprocesses 6
maxretries 5
retrylimit 5000000
maxvoluses 200
filesperfsm 2000

This is the frecover command I execute, in the same script, in order to verify the backup:
frecover -r -vN -f $TAPE_DEV > $TAPELIST 2>&1

The problem I'm having is that the verify start and stop times are the same. No error is produced. So my 2 questions are:
1. Do I need to rewind the tape after fbackup?
2. Do I need to use the _exact_ same config file in the frecover line, as I do in the fbackup line?

Thanks.
3 REPLIES 3
Stephen Keane
Honored Contributor

Re: fbackup/frecover config file

Is $TAPE_DEV set to /dev/rmt/2m ?

fbackup automatically rewinds the tape, I'd assume that frecover does likewise.

Do you not get any output in $TAPELIST ?
Cheryl Griffin
Honored Contributor

Re: fbackup/frecover config file

Do you get any output with
# frecover -vf /dev/rmt/2m -I /tmp/index

You do not need to specify the config file with frecover. It is used with fbackup only.
"Downtime is a Crime."
Managed Services
Frequent Advisor

Re: fbackup/frecover config file

Thanks for your rplies. I think I've found the problem...

When looking at the $TAPELIST files, there's an entry in one of the files saying frecover not found, so I think it may be that I needed to put the full /usr/sbin/ patch in front of frecover. We'll see tonight :)

Thanks again!