Solved

RMAN Backup Question

Posted on 2014-04-01
3
426 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 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 300 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now