- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fbackup and Oracle databases
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 08:14 AM
08-08-2001 08:14 AM
fbackup and Oracle databases
We are quite new to HP-UX, so forgive my ignorance if this has been asked before.
We are running Oracle on HP-UX 11
We currently use fbackup to back the data areas up after putting the database into backup mode. When fbackup hits a data area that is currently being modified, we get a warning saying that the file was not successfully backed up. Is there any 'tweaks; to fbackup when trying to backup an Oracle instance in this manner
Thanks in advance
Bernie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 08:25 AM
08-08-2001 08:25 AM
Re: fbackup and Oracle databases
I have to admit, I never tried this with fbackup. With tar it works fine.
So the question is: is the data on the tape ?
If yes, I would assume it is ok (And as far as I remember it is just a warning and the file is on the tape).
Anyway, the best way would be to test the restore (on a diffrent box)! Do a dbverify and a full export after the recovery. If this goes ok, fbackup is just cautious because it does not know BEGIN BACKUP / END BACKUP.
You should verify your restore procedure in any case.
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 08:32 AM
08-08-2001 08:32 AM
Re: fbackup and Oracle databases
When 'fbackup' begins backing up a file (any file) it "notes" the file's modification timestamp. Once the file has been fully transferred to tape, a comparison is made to determine if the timestamp has in fact changed. If it has, then the file (on tape) is marked as "bad" and the copy attempted again.
'fbackup' will retry ' maxretries' times before skipping the file. The 'maxretries' value is defined in the 'config' file (see "man 1M fbackup"). The default is five (5). Each retry will be logged. Redirecting the 'v'erbose dialog of 'fbackup' to a file is a great way of seeing this and other messages.
The key consideration for databases, is to have an absolutely quiet, consistent relationsship among all files during the period in which a backup is occuring.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 08:33 AM
08-08-2001 08:33 AM
Re: fbackup and Oracle databases
This is a warrning that the file is open but oracle take the control on the db files to have a coherent files for backup.
Go ahead you have a valid backup.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 12:35 PM
08-09-2001 12:35 PM
Re: fbackup and Oracle databases
first, do you run that backups "offline" (when Oracle is
actually shut donw) or "online" (while Oracle is up and
running and still modifies the files)?
You simply MUST instruct Oracle that you intent to do
an online backup by issuing commands like
alter tablespace XXX begin backup;
from "svrmgrl" or "sqlplus" as dba, then use your backup
tool, and then tell Oracle, when it is over with
alter tablespace XXX end backup;
And that you have to repeat for each and every
tablespace you have (replace the "XXX" in the examples
above with their names).
Only then you do backup, else you do "tape-tests"
and you have no guarantee that you will be able to
restore from those backups and restart Oracle!
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 12:43 PM
08-09-2001 12:43 PM
Re: fbackup and Oracle databases
"tape tests" -- very well put, Indeeed, trying to copy files with 'fbackup' that are actively changing is a great way to run down the tape and find that you can't restore a damn thing.
Glad to see you posting again with regularity.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 05:10 PM
08-09-2001 05:10 PM
Re: fbackup and Oracle databases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2001 01:50 AM
08-10-2001 01:50 AM
Re: fbackup and Oracle databases
All,
Thanks for the prompt responses, when i figure out how to score the responses, I will. I would like to add that the Oracle tablespaces are put into warm backuo mode via the use of the ALTER TABLESPACE xxx BEGIN BACKUP
Rgds
Bernie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2001 04:33 AM
08-10-2001 04:33 AM
Re: fbackup and Oracle databases
You must use "tar" to backup online datafiles since fbackup may reject them for the reasons stated above. Hope this clarifies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2001 10:59 PM
08-12-2001 10:59 PM
Re: fbackup and Oracle databases
10 (hey maybe 9 and give me 10) points.
All others more or less they are wrong in their saying.
Disregard them (sorry J.R. Fegusson... but you can't have
everything right).
This kind of "error" that you get is very tricky to
understand. "Symptom" is "in" UNIX, hey but the reason
why this happen is in Oracle. And it is even one of the
things that it is widely not well "understood"...
All in this link (hope you read it to the end)...
http://www.speakeasy.org/~jwilton/hot-backup.html
Roman D.