Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

fbackup, erroring out while backup "OMNI DB" ...

SOLVED
Go to solution
Shahbaz_1
Regular Advisor

fbackup, erroring out while backup "OMNI DB" ...

Hi Friends,
your help is required,
when I was trying backpu the "OMNI DB", as folllows
fbackup -i /var/opt/omni -f /dev/rmt/0m
output:
fbackup(1004): session begins on Wed Apr 10 09:53:00 2002
fbackup(3205): WARNING: unable to read a volume header
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
fbackup(3055): total file blocks read for backup: 58718
fbackup(3056): total blocks written to output file /dev/rmt/0m: 59632
fbackup(1030): warnings encountered during backup

What could be the problem, and where should I look at it ?

Please ...

Thanks & Regards
Syed
Let's share the great thing "THE KNOWLEDGE"
4 REPLIES
Michael Tully
Honored Contributor

Re: fbackup, erroring out while backup "OMNI DB" ...

Hi,

'fbackup' expects to see an 'fbackup' or
other type of backup that was used previously
on the tape. As there was no header information
from the tape it produces the warning.
The 'fbackup' codes can be found here:

# strings /usr/lib/nls/C/fbackup.cat

There are two ways that you can backup your
omniback database. There is an internal facility within Omniback to do this, and if you are using 'fbackup', omniback needs to be shutdown.

Cheers
~Michael~
Anyone for a Mutiny ?
Shahbaz_1
Regular Advisor

Re: fbackup, erroring out while backup "OMNI DB" ...

Thanks lot Michael,

Yes, I shutdown the omni db, and I got the following after, fbackup
fbackup(1004): session begins on Wed Apr 10 10:33:08 2002
fbackup(3203): volume 1 has been used -1 time(s)
fbackup(3024): writing volume 1 to the output file /dev/rmt/0m
fbackup(3055): total file blocks read for backup: 58719
fbackup(3056): total blocks written to output file /dev/rmt/0m: 59630

Now I think it is ok?

Machael, Can I chk with you,
How should I read the content of the 'tape', just now created?

Thanks & Regards
Syed
Let's share the great thing "THE KNOWLEDGE"
Michael Tully
Honored Contributor
Solution

Re: fbackup, erroring out while backup "OMNI DB" ...

Hi Syed,

To read the tape back is quite simple, using the 'frecover' command.

As an example:

To read the index or contents of the tape:
# /usr/sbin/frecover -I /tmp/index.out -f /dev/rmt/0m

To read the volume header from the tape:
# /usr/sbin/frecover -V /tmp/header.out -f /dev/rmt/0m

There is a man page for this command, where you look at the restore options if you ever require them.

Cheers
~Michael~
Anyone for a Mutiny ?
Shahbaz_1
Regular Advisor

Re: fbackup, erroring out while backup "OMNI DB" ...

Thanks once again, machael
hope meet again !!!
Regards
Syed
Let's share the great thing "THE KNOWLEDGE"