Link to home
Start Free TrialLog in
Avatar of blazin_sun
blazin_sun

asked on

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.
Avatar of blazin_sun
blazin_sun

ASKER

Any one can you  please provide me the script.
ASKER CERTIFIED SOLUTION
Avatar of MikeOM_DBA
MikeOM_DBA
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

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