Database Backup and Recovery (MOSC)

MOSC Banner

RMAN Backup check

edited Jan 29, 2009 3:27AM in Database Backup and Recovery (MOSC) 2 comments
 Check RMAN has backed up
Am writing a script. I came across following situation.

1) Primary database applies archivelog to 2 standby databases.
2) After applying it purges all the archivelogs

I want to add a check to see if RMAN has backed up archive log before deleting.

My approach: Check the backup directory if the backup file exisits.
My question.

1) How do i make sure that archive log has been backed up? If i check the backupfile it has got couple of archive logs compressed in 1 backupfile.

2)I want to make OS level check rather than connecting to RMAN and list the backupfiles.

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