[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

RMAN Backup Question

Posted on 2014-04-01
3
Medium Priority
?
452 Views
Last Modified: 2014-04-01
Running RMAN online backup daily.  I have retention set to one day.  Currently i have a
DELETE NOPROMPT OBSOLETE at the end, but I would like to configure the script such that the backup pieces are deleted daily, but the archived logs are not.  I'd like to have logs deleted only every two or three days.  How do I do that?
0
Comment
Question by:xoxomos
  • 2
3 Comments
 
LVL 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 1200 total points
ID: 39970659
It's been a while since I played with RMAN once I got my scripts set up but I believe you just need to set the archived redo log deletion policy.

http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmconfb.htm#BRADV89439

They are not flagged as obsolete until the retention has been exceeded.
0
 

Author Comment

by:xoxomos
ID: 39970728
Thanks.  Looks like that would be MUCH cleaner once i work it out.
0
 

Author Closing Comment

by:xoxomos
ID: 39970729
Thanx
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question