Link to home
Start Free TrialLog in
Avatar of dedean01
dedean01Flag for United States of America

asked on

scripts to delete rman backups after 7 days

I am running an rman backup scheme with a level "0" incremental backup on Sunday and level "1" incremental throughout the week in a unix enviroment (oracle 9i).  However I don't have enough space to hold and addtional level "0" on the next Sunday.  Is there a script in RMan to delete the previous level 0 backups prior to starting my backup on Sunday?
ASKER CERTIFIED SOLUTION
Avatar of MikeOM_DBA
MikeOM_DBA
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dedean01

ASKER

Thanks,
The command worked as expected. I also ran a Cross check in Rman to resync the rman catalog.
Avatar of Tintin
Tintin

Note than in 10G, RMAN looks after deleting old files.