Solved

Script to do cold backup using rman

Posted on 2008-10-22
6
951 Views
Last Modified: 2013-12-26
Hi experts,

Can any one of you please share the shell script to do a cold backup using rman on 10G database.

The script need to check the SID
The script need to do the initial checks like...
status of the database -- open/close/mounted....
status of the backup / is it running or not... if it is running then the script should not kick off again.
Place the database in mount state , take the backup to disk and then open the database and report any errors if occured...

Thanks for your help.
0
Comment
Question by:blazin_sun
  • 3
6 Comments
 

Author Comment

by:blazin_sun
ID: 22787443
Any one can you  please provide me the script.
0
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 250 total points
ID: 22824305
0
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 22824318

PS: I'm sure you can figure out the rest.
0
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 25187515
The correct answer was provided by the link to the solution, all the OP had to do is write his(her) custom script  "wrapper" based on the solution.
 
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now