| View previous topic :: View next topic |
| Author |
Message |
vj.jain Site Admin
Joined: 10 Aug 2007 Posts: 87
|
Posted: Wed Dec 09, 2009 5:32 pm Post subject: R12 Admin: Enable Hot Backup |
|
|
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 |
|
 |
|
|
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
|