Managing Oracle RMAN backups

Every now and again something will go screwy with my automatic RMAN backups and I’ll to find any that are expired or obsolete and delete them manually.

This is how

-- Find and delete expired backups
RMAN> CROSSCHECK BACKUP;
RMAN> DELETE EXPIRED BACKUP;
-- Find and delete obsolete backups
RMAN> REPORT OBSOLETE;
RMAN> DELETE OBSOLETE;
For more information goto http://www.adp-gmbh.ch/ora/admin/rman/commands.html or check your Oracle documentation.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s