Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete specific backup - RMAN

Status
Not open for further replies.

Yarka

Technical User
Jan 14, 2007
192
ES
Hi,

I use rman. I've done backups, but I wants delete one. I do:
RMAN> delete backup tag 'mybackup.bak';

but it doesn't delete backup and doesn't remove to catalog.
How can I eliminate specific backup done with RMAN, using RMAN?


Thanks.
 
Yarka,

"delete expired" and "delete obsolete" are what you need. You should have some sort of retention policy in place, so that RMAN 'knows' what backups are really obsolete and removes only those.

Regards


Tharg

Grinding away at things Oracular
 

I run 'delete obsolete', I got :

: no channel allocated for maintenance (of an appropriate type)

The reason is that the backup is in the tape.

How can I delete a unwanted backup from tape?

Thanks
 
maswien,

from your information, I am guessing that you do not have RMAN configured to write directly to tape, but are writing to disk with RMAN, and then copying the disk backups to tape. If you are writing directly to tape, you must have an RMAN channel correctly configured to do so.

Can you confirm how your backups are being made. If you are copying from disk to tape, then deleting a particular backup set is dependent on your vendors particular hardware and software, and their manuals and user guides should provide appropriate guidance.

Regards

T

Grinding away at things Oracular
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top