RE: RMAN backup all but delete n days old

Hi,

I've never come across an easy way to do that exclusively with RMAN, but
you can rely on an OS cronjob to handle that; just use RMAN for the
backups and use the OS for the deletes... something like:

10 04 * * * find /u05/oradata/MyDB -name  1\*.log(or .dbf or whatever
you tag your logs as) -mtime +2 -exec rm -f {} \;

- Chris
-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of FMHabash
Sent: Tuesday, February 17, 2009 1:36 PM
To: Oracle-L Group
Subject: RMAN backup all but delete n days old

Is there away in rman to backup all logs on disk, but delete n days old
ones.  
 The backup ... Logs ... Delete input does not allow to have separate
criteria for backup vs. Delete.

Thanks

--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l


Other related posts: