Oracle-Developer.com Forums
A forum for discussing and sharing information about Oracle technologies
 

Navigation: Home  | Discussion Forums  |  Scripts  |  About Us  | Links  | Job Openings  | Blog  
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Email your Oracle questions to webmaster@oracle-developer.com to get Oracle 11g or Oracle E-Business expert advice.

R12 Admin: Enable Hot Backup

 
Post new topic   Reply to topic    Oracle-Developer.com Forums Forum Index -> Oracle E-Business Release 12
View previous topic :: View next topic  
Author Message
vj.jain
Site Admin


Joined: 10 Aug 2007
Posts: 87

PostPosted: Wed Dec 09, 2009 5:32 pm    Post subject: R12 Admin: Enable Hot Backup Reply with quote

Taken from several blogs:

Enable Archive Log
First check if your database is in Archive mode
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
If you see Automatic archival is enabled that means database is in archive mode . If not then

SQL>SHUTDOWN
SQL>STARTUP MOUNT
SQL>ALTER DATABASE ARCHIVELOG;
SQL>ALTER DATABASE OPEN;
SQL>alter system set LOG_ARCHIVE_DEST_1 =’LOCATION=/your/archive/location/arch’ scope=spfile;
SQL>shutdown immediate
SQL>Startup
Steps are for database 10g , These commands may vary according to your database version.
After that for Hotbackup
Change tablespace mode to begin backup like
alter tablespace tablespace_name begin backup; you have to do this for all tablespaces in your database except temporary tablespace (This can be tedious work if you are doing it manually so here is script to do so )

SQL>set head off
SQL>spool beginbackup.sql
SQL>select ‘alter tablespace ‘ tablespace_name ‘ begin backup;’ from dba_tablespaces;
SQL>spool off
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Oracle-Developer.com Forums Forum Index -> Oracle E-Business Release 12 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sponsored by www.varunjaininc.com

Copyright ©2007 Oracle-Developer.com