Solved

Script to do cold backup using rman

Posted on 2008-10-22
6
956 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PERL - Find newest folder 12 133
Get a Perl script to return content from a module 7 79
Call Shell Script from Perl Script 6 97
batch file problem 5 45
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Utilizing an array to gracefully append to a list of EmailAddresses
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

806 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