Backup & Recovery in Oracle Apps Database |
Tuesday, September 12, 2006 |
|
We have moved to http://onlineAppsDBA.com kindly check http://onlineAppsDBA.comin future
Based on lots of request from readers of this blog I am posting on Backup & Recovery of Oracle Apps 11i database & application tier.
I'll discuss on How to troubleshoot load balancer in oracle Apps after Backup & Recover.
You might have read in Oracle Documentation lot of time to backup your system before applying patch or before database Upgrade or changing any file or table. Today you will see how to take backup of table, file, database or applications (I am covering only basic things on backup)
How to backup a file/directory ? This is most common & very basic thing in taking backup, backup is snapshot of any file at a particular time . In order to take backup of file/directory so that it can be recovered at later stage (In case of any issues) cp filename filename.bak If you want to backup directory you can use cp -R dir dir.bak If directory is quite big lets assume APPL_TOP which is around 11GB you can tar (zip) utility in linux. tar -cvf dir.tar dir ( Where -c is compress , v is verbose, f is file ) to restore backed up directory use -x extract option like tar -xvf dir.tar
How to backup a table ? If you are a DBA you will find this bit silly but you can use create table as assume you want to backup table FND_USERS to table FND_USERS_BAK , you can use SQL> create table FND_USERS_BAK as select * from FND_USERS; Though you can use imp/exp feature of database as well to backup a atble.
What are two main backup categories for Database ? Broadly you have Cold Backup & Hot backup option with database.
Cold backup : is database backup which you take when database is down Hotbackup : is database backup during which database is available to user . For Hotbackup database should be in archive log mode. Tablespaces should be in begin backup mode while copying data files.
Advantages of Cold backup : Easy to implement, No need to convert database in to archive. Disadvantage of Cold Backup : Services are not available during backup, not acceptable in production
Advantages of Hot backup : Users can access database & application during backup Disadvantages of Hot Backup : Difficult to implement initially, extra space for archive logs
For Cold Backup of Database & Applications : --Shut down application tier services using adstpall.sh --Shutdown database listener & database --Copy file system (middle Tier & Database tier including software & datafiles to tape or harddisk ). You can zip or tar as well to reduce size of backup as mentioned above via tar -cvf --Once backup is over start database & db listener --Start Application Tier
For Hot backup of Database & Applications : --Make sure database is in Archive log mode ( How to check & how to convert coming tomorrow) --Put tablespaces in to begin backup Mode --Create backup control file -- Copy datafiles , log file, control files --Put tablespaces into end backup Mode -- Copy oracle software & middle tier software as mentioned in cold backup mode Backup done
How to put tablespaces into begin or end backup mode Wait for tomorrow's post ...
If you want to check Oracle Apps DBA Interview Questions check at
http://teachmeoracle.com/interview.html ( Around 15 pages & 90 questions)
*Those who posted interview questions to me, wait for some time as I am very busy right into project. I'll try to respond you before end of this week . |
We have moved to kindly check onLineAppsDBA.com in future
|
|
del.icio.us
¦
Digg This
¦
My Yahoo
¦
Reddit
¦
BlinkList
¦
Furl It
¦
Email This
¦
Leave Your Comments
|
posted by Atul Kumar @ 2:30 PM
|
|
12 Comments: |
-
use RMAN instead of hot backups.
Much simplier and less complicated and easier to restore with more features.
-
Hi Herod, Thanks a lot for your valuable suggestion. Would you like to share RMAN setup with Other Budding Apps DBA's ?
If you can spare some time , I can give Team Member rights & you can update configuring RMAN .
Regards Atul Kumar atul_iiit@yahoo.com
-
Hi Irfan, Thanks a lot for sharing your views on Backup. By BCV you mean Business Continuity Volumens ? As lot of guys going in favour of RMAN , I will update on RMAN or if some one want to update on this post about RMAN mail me at atul_iiit@yahoo.com and I 'll give access to you on this site .
Atul
-
Hi;
Would like to know what need to do in order to do BCV backup of RAC (2-node) database on Solaris.
Thanks,
Prakash Patel phpatel1@yahoo.com
-
Hi;
Woild like to know what need to take care on implementation of BCV backup of RAC (2-node) database on Solaris server.
Thanks,
Prakash Patel
-
hi, I'm new to oracle, what is redo logs and why there are 3 controlfiles in database? I mean is it possible to create more than 3 ctlfiles? Thanks
-
hi Atul
I am working on R12 on DUAL nodes and upgrade to 12.0.2, i need to configure RMAN, but i need the proper scripts which can be ideal for Production environment, and secondly please let me know that how can we use RMAN backups with SAN as Storage?
Thanks Shahrukh Yasin
-
Can any one let me know the meaning of the following???
Cloning with RMAN:- "If you are doing a hot cloning of your instance you can use RMAN do to the database cloning and then run adcfgxlone with the DBTeckStack option, as part of your Oracle Applications cloning" especially what is "hot cloning" and DBTechStack option??
-
Hi Atul,
Can you please tell me how can iu take the automatic backup in the pracle applications.
Please provide me any script regarding this.
Regards, Lalit
-
Thanks for all the useful information!!
-
which way is the shortest and quickest way to back up?
-
Its really a great post about backup & recovery in oracle apps database.
Data recovery is the process of recovering lost data that cannot be accessed normally from storage devices like hard disk drives, CD's, DVD's and storage tapes.
|
|
<< Home |
|
|
|
use RMAN instead of hot backups.
Much simplier and less complicated and easier to restore with more features.