Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536.1K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.6K Security Software
RMAN EXPIRED BACKUPS HUGE IN NUMBERS

Hi,
I am using Oracle database 12.2.0.1 and my RMAN crosscheck backup command is failing(running for long time and not completing) after L0 backup.After connecting to the Recovery catalog if i issue the list expired backup it shows 54440 backup pieces.How to fix this issue?? If i run delete expired backup its running for more than 2 hours and audit files are getting generated huge.
How to fix this crosscheck backup command ?? i cannot remove this command and its a common script runs for all DB's
Regards,
007
Answers
-
Expired backups are those found to be inaccessible during a cross-check.
I guess you need to check if there is any logic in backup script to move backup pieces to other location after backup gets complete.
Its expected to run your crosscheck/delete expired commands longer, if you have so much information in RMAN repository.
Regards,
Adi
-
what error did you get when you tried to crosscheck? you can do it partially for ex:
crosscheck backup completed after 'sysdate-14';
-
Hi,
you need to improve wise your common used scripts when you have such expired backups
https://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta036.htm#RCMRF132list expired listobjspec... one more option is record spec.-
-HTH
- Pavan Kumar N
-
It most likely means you're relying on the OS or other backup software to relocate your RMAN backups to other storage media. This can be useful if you wish to keep your RMAN backups for a long time. If you need to restore an older version of the database you restore the controlfile and RMAN backups as needed prior to performing a RMAN restore and recovery. Why do you need to crosscheck? When you restore an older version of the database and restore the controlfile, which automatically performs a crosscheck, you should not connect to the recovery catalog, not in your case. Your RMAN backups and archivelogs are also stored in the controlfile, and you can re-catalog if necessary.