1833480 Members
2815 Online
110052 Solutions
New Discussion

fbackup question

 
Patti Johnson
Respected Contributor

fbackup question

I've recently starting running a production workload on a new L2000 running Hp-UX 11.11.
The nightly backup is getting the following error.

fbackup(1417): cannot open the dates file /var/adm/fbackupfiles/dates for readin
g
fbackup(1004): session begins on Tue Oct 4 02:11:26 2005
fbackup(3203): volume 1 has been used 2 time(s)
fbackup(3024): writing volume 1 to the output file /dev/rmt/c4t3d0BEST
fbackup(3055): total file blocks read for backup: 9200423
fbackup(3056): total blocks written to output file /dev/rmt/c4t3d0BEST: 9201387

The file /var/adm/fbackupfiles/dates does not exist on my system - there is no /var/adm/fbackupfiles directory.

What am I missing?

Thanks,
Patti
7 REPLIES 7
melvyn burnard
Honored Contributor

Re: fbackup question

you ar emissing nothing really.
fbackup is expecting to find this file due to the command options you have used.
So I guess you need to let us know what is the exact command you are using if you want to stop this.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Patti Johnson
Respected Contributor

Re: fbackup question

Here is the command I am running.
/etc/fbackup -f /dev/rmt/c4t3d0BEST -c /usr/local/bin/fbackup_config -g /usr/lo
cal/bin/graph_hot -I /usr/local/bin/index_hot 2>>$LOGFILE

And here is the contents of the fbackup_config file

blocksperrecord 64
records 64
DCE
Honored Contributor

Re: fbackup question

this file is used for incremental backups. The /var/adm/fbackupfiles needs to be created manually (see man page) before incrementals will work properly.
Patti Johnson
Respected Contributor

Re: fbackup question

But I'm not doing an incremental backup?
This is the same script I used on my HP-UX 11.0 server without issue.

melvyn burnard
Honored Contributor

Re: fbackup question

Ok, you are not telling it what level to do (-0 to -9 option) so it is automatically looking for a file /var/adm/fbackupfiles/dates.

See the man page for more information.
It is informational only
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Marlou Everson
Trusted Contributor

Re: fbackup question

The dates file is used by fbackup to store the start and end time and graph file of your "level" backups. Fbackup uses this information to determine if the file has been modified since the last "level" backup.

Here is an example of a dates file.

/etc/sam/br/graphXCAa06759 0 1128240003 1128242503
STARTED: Sun Oct 2 01:00:03 2005 ENDED: Sun Oct 2 01:41:43 2005
/etc/sam/br/graphXCAa06759 1 1128412803 1128413459
STARTED: Tue Oct 4 01:00:03 2005 ENDED: Tue Oct 4 01:10:59 2005

You will need to create the directory for this file, if you want to do incremental or differential backups. Otherwise, you will only get full backups since fbackup will not know the date/time of the previous backup.

Marlou
Patti Johnson
Respected Contributor

Re: fbackup question


My HP-UX 11.0 server had the /var/adm/fbackupfiles/date file, so I got away without specifying a backup level.
Since the file did not exist on the new server (don't do incremental backups) I got the warning message when I didn't specify that the backup was level 0.



Thanks for the help.