1834936 Members
2330 Online
110071 Solutions
New Discussion

fbackup error message

 
Franklin Dengman
New Member

fbackup error message

Hi,

Can someone please help me out with this error message?

We've got a cron running to do an auto backup on an HP-UX 11, but for the past week it's been failing. Our server crashed and we had to reinstall. could that be the reason?

Thanks in advance!!

Rgds,

Dengman

Output from fbackup:

br_backup: Invoking fbackup. See /var/sam/log/br_log for details.
fbackup(1412): unable to open graph file /etc/sam/br/graphZCAa28240
fbackup(1404): no files have been specified; (use at least one -i and/or -g option)
usage: fbackup -f device [-f device] ... [-0-9] [-nsuvyAEl]
[-i path] ... [-e path] ... [-g graph] ... [-d path] [-I path] [-V path] [-c config]


usage: fbackup -f device [-f device] ... -R restart [-nsuvyAEl]
[-d path] [-I path] [-V path] [-c config]

3 REPLIES 3
john korterman
Honored Contributor

Re: fbackup error message

Hi Franklin,
apparently the crontab line that invokes fbackup has been configured to use the graph file /etc/sam/br/graphZCA128240 and fbackup cannot access this file, either because of wrong permissions or - more likely - because the file does not exist. If the graph file does not exist, then create it. Its purpose is to specify what you want to include (i) or exclude (e) in the backup, e.g.

i /
e /tmp

the example includes the root directory, which includes everything else in the backup - apart from what you exclude: in the example the /tmp directory.

regards,
John K.
it would be nice if you always got a second chance
Jose Mosquera
Honored Contributor

Re: fbackup error message

Hi,

Looks like you do not have recovered your /etc/sam/br/graphZCAa28240 file or it haven't enough privileges to read it by the cron user.

A graph file is an ascii file where you include (-i option) or exclude (-o option) a complex backup criteria tree. But if you have a simple backup criteria you could build a simple command line. i.e: imagine that you need copy a entire system except /tmp and /var/tmp dirs:

fbackup -0 -v -i / -e /tmp -e /var/tmp -f /dev/rmt/

In this case you firstly include a whole store tree from root (-i /) and then exlude all directories that you don't need. you can place so many exclusions or inclusions like you want. If you need copy just a specific dir:

fbackup -0 -v -i / -f /dev/rmt/

To detailed info about fbackup command pls "man fbackup"

Rgds.
Michael Tully
Honored Contributor

Re: fbackup error message

Seeing this was configured from within 'sam', the best method might be to go into 'sam' and fix it there. You may find something else missing as well. Also it may give you a better understanding of how fbackup works.
Anyone for a Mutiny ?