Database Backup and Recovery (MOSC)

MOSC Banner

RMAN Archive log backup script

edited Apr 21, 2010 3:50AM in Database Backup and Recovery (MOSC) 15 commentsAnswered
 Hi All,

I have  implemented RMAN archivelog backupscript can any one pls see this script and suggest if any thing wrong.

# This script does:

# 1) Administrative tasks:

# crosscheck

# delete obsolete

# 2) Archive log current on 1st Instance

# 3) Archive log current on 2nd Instance

# 4) Rman backup as copy archivelogs not backed up and print backupset list to log

# --------------------------------------------------------------------------------

# This script works with 2 nodes only, if you have more than 2 nodes you need to customize it.

#

# This script use aliases and Environment variables set on .profile

# to setup the environment to point to the Database:

#! /usr/bin/ksh

ORACLE_BASE=/opt/u01/app/oracle; export ORACLE_BASE

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center