• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1017
  • Last Modified:

Script to do cold backup using rman

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
blazin_sun
Asked:
blazin_sun
  • 3
1 Solution
 
blazin_sunAuthor Commented:
Any one can you  please provide me the script.
0
 
MikeOM_DBACommented:

PS: I'm sure you can figure out the rest.
0
 
MikeOM_DBACommented:
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now