RMAN Backup check
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.
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.
0