- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Oracle (7.x) Hotback on HP-UX
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-11-2000 08:21 AM
08-11-2000 08:21 AM
Oracle (7.x) Hotback on HP-UX
I have an Oracle DB on 10.2 that needs 100% uptime, so no shutting down the database for backups. I'm trying to setup a reliable automatic backup system, that performs a Oracle DB Hotback, then saves the Hotback files along with system files to tape, the next day. I've got some of it scripted, but the script is too buggy/unreliable. Is there something already available?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 08:24 AM
08-11-2000 08:24 AM
Re: Oracle (7.x) Hotback on HP-UX
Any high level backup utility like Omniback, Netbackup, Networker, will talk directly to Oracle's RMAN/EBU process and do the backup simply and reliably to tape. I think it would be far safer to use a well supported high level backup tool such as one of these for something so critical as a reliable hotbackup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 08:30 AM
08-11-2000 08:30 AM
Re: Oracle (7.x) Hotback on HP-UX
Another option is to have the archive logging turned on. Then your script can bring down the tables and do the backup. When the tables are brought up, the archive log would be applied.
The script version takes down ALL tables. The backup tools only bring down a table that is presently going to backed up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 11:55 AM
08-11-2000 11:55 AM
Re: Oracle (7.x) Hotback on HP-UX
The Begin and End online backup scripts follow:
#@ dbBeginOnLineDatabaseBackup
#@ ---------------------------
#@
#@ Does necessary stuff to start on-line backup
#@
#@ usage: dbBeginOnLineDatabseBackup {database}
################################################
if [ $# -ne 1 ]
then
echo "----------------------------------------------"
echo "usage: dbBeginOnLineDatabaseBackup {database}"
echo "----------------------------------------------"
exit 1
fi
export ORACLE_SID=$1
dbSwitchLog $ORACLE_SID
Password=`GetPassword $ORACLE_SID system`
sqlplus -s<
>$TEMP/dbBeginOnLineDatabaseBackup.sql
system/$Password@$ORACLE_SID
set pagesize 0
select 'alter tablespace '||tablespace_name||' begin backup;'
from dba_tablespaces
where
status!='READ ONLY';
EOF
sqlplus -s<
alter system switch logfile;
alter database backup controlfile to trace;
@$TEMP/dbBeginOnLineDatabaseBackup.sql
EOF
#@ dbEndOnLineDatabaseBackup
#@ ---------------------------
#@
#@ Does necessary stuff to end on-line backup
#@
#@ usage: dbEndOnLineDatabseBackup {database}
################################################
if [ $# -ne 1 ]
then
echo "----------------------------------------------"
echo "usage: dbEndOnLineDatabaseBackup {database}"
echo "----------------------------------------------"
exit 1
fi
export ORACLE_SID=$1
dbSwitchLog $ORACLE_SID
Password=`GetPassword $ORACLE_SID system`
sqlplus -s<
>$TEMP/dbEndOnLineDatabaseBackup.sql
system/$Password@$ORACLE_SID
set pagesize 0
select 'alter tablespace '||tablespace_name||' end backup;'
from dba_tablespaces
where
status!='READ ONLY';
EOF
sqlplus -s<
@$TEMP/dbEndOnLineDatabaseBackup.sql
alter system switch logfile;
EOF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 02:09 PM
08-11-2000 02:09 PM
Re: Oracle (7.x) Hotback on HP-UX
With the mirrored lvol you could split it w/ lvsplit and run your backup on the split lvol, then merge it back when backup is complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2000 03:57 AM
08-12-2000 03:57 AM
Re: Oracle (7.x) Hotback on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2000 02:41 PM
08-12-2000 02:41 PM
Re: Oracle (7.x) Hotback on HP-UX
You should be able to use RMAN and EBU to backup to files or to tape drives HOT as well - although this requires more knowledge of Oracle than I have.
Omniback supports a hot backup - but essentially Omniback uses RMAN or EBU - so if you have those, you have the basic tools you need.
You can try Omniback for 60 days (or so) - you can install from your applications CD -.
Two warnings. Get RMAN or EBU to work first - because if they don't, Omniback won't.
Also, get Omniback patched, and PRINT the administration, release notes, and integrations manuals.
If little or no downtime is the goal, you might consider Omniback in conjunction with an XP256 or somesuch. The XP256 integration is a high end variant of the mirror-split-mirror approach. This can be a complex solution but if high uptime is the goal it fits well.
Good Luck.