dbTalk Databases Forums  

Oracle Implementing Online Backups

comp.database.oracle comp.database.oracle


Discuss Oracle Implementing Online Backups in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rick
 
Posts: n/a

Default Oracle Implementing Online Backups - 01-08-2004 , 09:25 AM






Hi All,

A huge thanks in advance to anybody who can tackle this question. I
am trying to implement online backups on my Oracle 9.2 Server. When I
try to mount I receive the error "ORA-01081: cannot start
already-running ORACLE - shut it down first." How would you recommend
I handle this situation?

Thanks for any help you are able to give!

Rick

Reply With Quote
  #2  
Old   
CFoot
 
Posts: n/a

Default Re: Oracle Implementing Online Backups - 01-12-2004 , 07:25 AM






Looks like you are issuing a STARTUP command.

That error states that the database is already running - which is a
requirement for a hot backup. You must be archiving too.

For 9i you need to:

Issue "ALTER TABLESPACE XXXXX BEGIN BACKUP"
where XXXXX is the name of the tablespace you are backing up. Do this
for each tablespace you are backing up.

Execute the OS copy of the datafile(s) in the tablespace or
tablespaces you are backing up.

Issue "ALTER TABLESPACE XXXXX END BACKUP" where XXXXX is the name of
the tablespace you are backing up.

Execute "ALTER SYSTEM SWITCH LOGFILE" command or the "ALTER SYSTEM
ARCHIVE LOG ALL" commands - look in SQL reference manual for more
info.

Backup the control files.

"ALTER DATABASE BACKUP CONTROLFILE TO TRACE"
"ALTER DATABASE BACKUP CONTROLFILE TO 'filename' REUSE"


Chris Foot
Senior Oracle Instructor
The Oracle Instructor's Guide
www.oracleeducator.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.