Home > Ask the Oracle Database / Applications Experts > Oracle database backup and recovery Questions & Answers > Deleting backups using RMAN
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Deleting backups using RMAN

Brian Peasland1 EXPERT RESPONSE FROM: Brian Peasland1

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 07 September 2004
How does one delete backups pertaining to previous incarnations of a database with RMAN? Even though they are older than the seven-day retention policy they do not get deleted with delete obsolete.

>

You have a couple of options. The first one I'd suggest is to use CROSSCHECK to remove any backups that no longer exist. The RMAN command is:

CROSSCHECK BACKUP

There are other options, so consult the RMAN Reference Guide. The CROSSCHECK command does not remove the backups from RMAN. It marks backups as AVAILABLE, UNAVAILABLE, or EXPIRED. You can use the DELETE EXPIRED command to remove the expired backups.

Another thing that you should consider doing is using the DELETE OBSOLETE command on a regularly scheduled basis. This can remove those backups from RMAN that are no longer needed for recovery.

Finally, to change the status of an RMAN backup, use the CHANGE command. For instance, to change backupset #1234 to UNAVAILABLE, use the following command:

CHANGE BACKUPSET 1234 UNAVAILABLE


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Recovery Manager (RMAN)
Can I take a compressed backup with RMAN?
Difference between RMAN and traditional backup methods
RMAN vs. dbverify utility
Different ways to back up a database
Questions about backup and recovery
RMAN backup and recovery help for new DBA
Improving backup speed and uses with RMAN
EXP/IMP vs. RMAN for backup
How does RMAN perform hot backups without shutting down DB?
RMAN cold backup vs. hot backup

Oracle database backup and recovery
Can I perform an Oracle server backup through a client machine?
How to execute DML in an Oracle trigger with EXECUTE IMMEDIATE
How to restore a dump file with the Oracle SHOW=Y option
Why do I get an Oracle not available error with Oracle 8i on Windows?
How to perform Oracle database recovery with a corrupt online redo log
Can I create an Oracle Catalog Database with the Enterprise Console?
Do I need to recreate views after an Oracle table reorg?
Client-based apps vs. web-based apps in Developer 2000
How to perform an Oracle 8i to 10g migration
Can I move the tablespace online with missing datafiles in Oracle?

Oracle database backup and recovery
Can I perform an Oracle server backup through a client machine?
How to execute DML in an Oracle trigger with EXECUTE IMMEDIATE
How to restore a dump file with the Oracle SHOW=Y option
Why do I get an Oracle not available error with Oracle 8i on Windows?
Oracle tutorial library: SearchOracle.com's learning guides
How to perform Oracle database recovery with a corrupt online redo log
Can I create an Oracle Catalog Database with the Enterprise Console?
Do I need to recreate views after an Oracle table reorg?
Client-based apps vs. web-based apps in Developer 2000
How to perform an Oracle 8i to 10g migration
Oracle database backup and recovery Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts