Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

RMAN not deleting old backup files

AmiWOct 7 2014 — edited Nov 25 2014

DB and RMAN are both 11.2.0.4 on Windows server 2008 (test environment)

I'm a beginner to RMAN.

I'm running a full backup everyday with a batch file. Both my Oracle Service and Oracle TNSListener services are running on a domain account. That domain account has full privileges to the folder that I'm writing to.

I have configure retention policy to recovery window of 3 days.

I have also specified recovery window of 3 days in my Run command

delete noprompt obsolete recovery window of 3 days;

deleteĀ  noprompt expired backup;

Perhaps I misunderstood the functionality of recovery window of 3 days? Or I must be doing something wrong? None of the backup files are deleted. I have backups from October 3rd, 2014. That's when I started automating the backup process using windows scheduled tasks. So, in all, I have 5 copies of full backup; and not 3 copies.

Anyone can please help point me to the right direction?

Thanks

Ami

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2014
Added on Oct 7 2014
25 comments
13,518 views