- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "Live" Backups
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
06-05-2003 05:52 AM
06-05-2003 05:52 AM
BACKGROUND:
A client has asked me to specify a new system
It's to serve a 24-hour call centre
They gave me a spec based on one of their other call centres...
"On a daily basis the server must be capable of
i) Performing all associated backups of oracle database(s)/logs etc.
& a full system backup
(excluding the oracle specific backups).
ii) Backup solution must be capable of carrying out the backup of the database(s) with the application & data still available to users.
I asked them how their current call centre achieved the above
[I assumed they'd mention say...
OnLine JFS, Veritas NetBackup or A.N.Other]
but they claim they just use commands within the OS [HP-UX 11.0]
MY QUERY:
Is this possible with HP-UX straight out of the box?
[frankly I thought it not possible without some hefty scripting]
Is it advisable?
Is there a better approach I could recommend to them?
All views are welcome Makarov
Mike (rabbit warren) Fisher
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 05:56 AM
06-05-2003 05:56 AM
SolutionHTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 05:59 AM
06-05-2003 05:59 AM
Re: "Live" Backups
We use OmniBack to do this with an Informix database, but we also do it in the middle of the night when there is next to nothing for activity. I wouldn't think it would be very reliable otherwise.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:03 AM
06-05-2003 06:03 AM
Re: "Live" Backups
What about database consistency when dumping ? Do you put the db in backup mode or something ?
Rgds Jarle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:05 AM
06-05-2003 06:05 AM
Re: "Live" Backups
Now did they really mean a useful backup? i.e. one that could reasonably be expected to restore an Oracle instance to life? In that case, things are a lot more complicated.
If they have RMAN then that can make the database scripting part much easier but otherwise you will need to write scripts to enable Oracle hotbackups. They are not hard but they are also not "out of the box".
The other thing to consider is the possibility that metadata that describes the Oracle data may also need to be kept "in sync" - that can really throw a monkey wrench into the works. The point is that you (and they) need to do a lot more digging before settling upon a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:06 AM
06-05-2003 06:06 AM
Re: "Live" Backups
I suppose you could also look into MirrorDisk/UX. Mirror all the DB disks, break the mirror and do the backup on the copy, then re-sync.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:10 AM
06-05-2003 06:10 AM
Re: "Live" Backups
but of course this isn't necessarily the best way to back these things up, as you generally end up with a bespoke solution that only the local admins know/understand, and when it comes to actually doing a recovery - well oracle can't help that much if they don't have a full handle on how you have backed up...
a better approach then is to use 'industry best practice', and that best practice for oracle is currently RMAN with some sore of media manager such as omniback or netbackup.
if performance is an issue you might look at split mirror technology to offload the IO to another host and reduce the amount of time the database is in hot backup mode - that said, for call centres although availability is an issue, performance rarely is late at night when there are 5 reps and maybe 10 calls an hour!
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:15 AM
06-05-2003 06:15 AM
Re: "Live" Backups
There are actually certain advantages to this approach because rman creates backups that are easy to roll forward from in the oracle recovery process.
Omniback's utility for oracle does the same thing, uses rman.
Veritas also uses rman for backups both hot and cold.
Having used all three, I'd say if you have the money Veritas is the best answer.
Depending on the severity of data loss, I'd be cutting hot backups every 6 hours or so.
It is possible with mirror/ux to break mirrors and get some kind of a cold backup but Oracle doesn't support this methodology.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:28 AM
06-05-2003 06:28 AM
Re: "Live" Backups
The plan is to use MirrorDisk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:37 AM
06-05-2003 06:37 AM
Re: "Live" Backups
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:42 AM
06-05-2003 06:42 AM
Re: "Live" Backups
By coincidence the current
Guinness ad campaigne is based on a Genius theme
Was your mother's milkman Irish by any chance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:45 AM
06-05-2003 06:45 AM
Re: "Live" Backups
I was curious about the Makarov reference. Are you referring to our dear friend Lubomir (now know as LM) or the original Walther?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:51 AM
06-05-2003 06:51 AM
Re: "Live" Backups
If you want to really impress, and have a DR Plan with a second host in place for this database, here's what you can do,...
Setup a standby database on the DR Server, applying Redo Logs.
When you want to take a backup, stop the database on the DR machine, backup it up, then bring it up and catch up again.
Complete offline and recoverable backup of the Standby Database, can then be restored as production if needed and further redo logs applied to bring it up to date.
What maintenance downtime have you negotiated into this System? or have the Users seen that 24x7 is "possible" and therefore assumed it is "practical"?
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 06:52 AM
06-05-2003 06:52 AM
Re: "Live" Backups
You can use the Oracle RMAN feature + OmniBack to hot backup a database. I have a RMAN script to run as a pre-exec in OmniBack filesystem backup.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 07:07 AM
06-05-2003 07:07 AM
Re: "Live" Backups
I was referring to
Luby/Makarov/Kalasknikov
I genuinely wanted him to reply
I'm just a little sorry for a guy who can't just play from the hand he's dealt
[It HAS to be a guy - right?]
But the Walther PP is better than the Makarov 9mm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 07:09 AM
06-05-2003 07:09 AM
Re: "Live" Backups
;^)
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 07:44 AM
06-05-2003 07:44 AM
Re: "Live" Backups
1. Put the tablespaces in hot backup mode.
2. Backup the running databases.
3. Take the database tablespaces out of hotbackup mode.
4. Reapply logs that accumulated while in hot backup mode.
Many products, such as Veritas NetBackup, have "agents" that allow you to do this. You purchase them. I think that they interface with RMAN.
The split-mirror solution, with HP-UX MirrorDisk or EMC Timefinder/BCV, allows you take the bakcup from another server, removing the backup I/O load from your production server and reducing the amount of time your production database has to stay in Hot Backup mode:
1. Put the DB tablespaces in hot backup mode.
2. Split the mirror off.
3. Put the DB tablespaces back in normal mode.
4. Reapply logs.
5. Present/mount mirrors to backup server.
6. Take backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 08:08 AM
06-05-2003 08:08 AM
Re: "Live" Backups
I'm so transparent
Yes...
I was gonna do a "Null Point" where it don't shine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 08:37 AM
06-05-2003 08:37 AM
Re: "Live" Backups
It costs a lot of money, and there is a lot of training involved, but if you want REAL disaster recovery abilities, this is the industries' best. I can put you in touch with the right people if you're interested.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2003 07:11 PM
06-05-2003 07:11 PM
Re: "Live" Backups
When I mentioned what I was doing to an Oracle lecturer here in Melbourne he was very surprised that it worked, but then he checked with some colleagues and they said it should work. So far I have never had a problem restoring such a backup and get Oracle up and running again. This method is suitable if you have it all relevant files in the same place (file system), of course, and could fail on systems where files are spread over many file systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 12:05 AM
06-06-2003 12:05 AM
Re: "Live" Backups
Any more for any more?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 12:20 AM
06-06-2003 12:20 AM
Re: "Live" Backups
speaking about oracle: it's quite easy, using the "begin backup" functionality.
It require a little knoledge of oracle and of its restore tecnique, but it's feasyble.
I also tested the restore and recovery.
??
I did it for a customer who was not willing to buy extra software.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 01:55 AM
06-06-2003 01:55 AM
Re: "Live" Backups
Well evreythings is possible, its generally not at the backup you know you did the good choice its when it comes to restoration...
With just os commands all has been said in the previous mails (tar works fine - I tested against fbackup [problems with open files] etc...) the question is data integrity, now I doubt you being able to backup while open you oracle data, I believe they are fooling you when saying "they just use commands within the OS [HP-UX 11.0] "
Im sure when they are playing with words...
And in fact they do an oracle-export of tha database and yes in this case oracle is still running...
but in order to be sure to use it, at the instant T you decide to do a full export (with the good options for using online the DB) you would need also make a copy on the same backup of the exportfile of the controlfiles and redologs and maybe more...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 06:42 AM
06-06-2003 06:42 AM
Re: "Live" Backups
in rman...
run {
sql 'alter system archive log current';
allocate channel 'dev_0' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=prdweb,OB2BARLIST=prdweb1)';
allocate channel 'dev_1' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=prdweb,OB2BARLIST=prdweb1)';
allocate channel 'dev_2' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=prdweb,OB2BARLIST=prdweb1)';
backup incremental level 0 filesperset 1
format 'prdweb
database
include current controlfile
archivelog all delete input
;
}
We also use omniback to do online backups of our SAP systems AND have successfully recovered them with very little pain and heartache. As mentioned above, you need to get all the control files and online/offline redo logs.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2003 03:43 PM
06-06-2003 03:43 PM
Re: "Live" Backups
We have an Oracle db of about 1.5tb in size. We had been using RMAN, incrementals, colds, business copies.
When one day faced with a restore
we timed the restore from the backups using RMAN and found we would be down over 8 hrs.
A full cold backup, 4+ hours.
A restore from the business copy was one hour but it did require reentry of a lot of data since the last resync.
We now nightly, resync, bring down the the db, split the business copy, bring up the db.
The down/up of the database costs us 15 minutes/day down time. We then back up the split business copy volumes.
With business copy you can sync and split at intervals during the day and recover from any of these to any give point in time.
Still not fool proof by any means, just what our shop is doing. At one time we actually had two business copy versions for different critical points of recovery.
When the day comes, please let us know what the ultimate decision was.
Best regards,
dl