Login  Register

Re: backup policy

Posted by ErmanArslansOracleBlog on Jul 05, 2017; 11:57am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/backup-policy-tp2809p2888.html

You already have -> RECOVERY WINDOW OF 7 DAYS in your RMAN config.
So, when you issue rman delete obsolete command, it will delete the backups that are not needed for satisfying the recovery window of 7 days.

When we use recovery window, the point of recovery value is calculated according to the current date and the the days that we configure in the retention policy.

So, you already have delete obsolete command in your script and you have a retention policy configured.

Next time, when asking these kinds of questions, tell me your complete purpose. If your purpose is to delete backups completed 7 days ago no matter what (without thinking about the point of recovery), then your script is ok.